Python Forum
I can't open a link with Selenium in Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I can't open a link with Selenium in Python
#1
Hello, I'm having problems with Selenium in Python.

I'm learning Selenium in python and I can't click on a link.

Usei o:
link.send_keys('ENTER')
link.send_keys('\ue007')
link.click()
link.execute_script("click();")
none of them worked the error thrown is:

selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable 
I noticed that when I manually click on the link that is visually looking like a button the URL doesn't change, this happens with all links similar to it in the same DIV. I saw that in the cambo of all the links are with "#" I looked in the document for a web element with that ID and I didn't find it. Can someone help me?
Larz60+ write Jan-30-2022, 10:28 PM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.

When posting code, please use BBcode tags rather than images.

Attached Files

Thumbnail(s)
   
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How do I link the virtual environment of that project to the 3.9.2 version of python? Bryant11 1 1,381 Feb-26-2022, 11:15 AM
Last Post: Larz60+
Sad Selenium: can't open a new window after clicking a button and I don't know why noahverner1995 0 1,990 Jan-22-2022, 09:55 AM
Last Post: noahverner1995
  Parsing link from html tags with Python Melcu54 0 1,624 Jun-14-2021, 09:25 AM
Last Post: Melcu54
  How to link Sublime Text 3 Build system to Python 3.9 Using Windows 10 Fanman001 2 4,626 Mar-04-2021, 03:09 PM
Last Post: martpogs
  Selenium: Click on a Link Error iamaghost 0 1,409 Mar-02-2021, 12:55 AM
Last Post: iamaghost
  Cannot open url link using urllib.request Askic 5 6,704 Oct-25-2020, 04:56 PM
Last Post: Askic
  How to skip LinkedIn signup link using python script? Mangesh121 0 1,801 Aug-26-2020, 01:22 PM
Last Post: Mangesh121
  Using online python for course, How do I open a File that's a link? WhatsupSmiley 1 2,541 Mar-20-2020, 06:56 AM
Last Post: buran
  venv fails to link to python-dev include (Python.h) Moonwatcher 2 6,212 Dec-27-2018, 12:31 AM
Last Post: Moonwatcher
  How to link two python scripts berthenet 35 77,093 Feb-03-2018, 02:24 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020