Python Forum
Seleniun does not work with a website element
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Seleniun does not work with a website element
Hello guys!

I am trying to automatic a website ckick button using selenium and the next method:

WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.XPATH,'/html/body/div[5]/div/div/div/div/div[1]/a/div[2]/input'))).send_keys(Keys.RETURN)
The XPATH is referenced to the next website element:

[Image: website.jpg]

After inspecting the website programming the “Subit Archivos” element is programmed like this:

<input accept="video/*, image/*" multiple="" display="inline-block" type="file" class="_n _5f0v" id="js_31">

When I executed the previous Python method, the linker gives me the next error:
“selenium.common.exceptions.TimeoutException: Message:”

It is like the method is no table to detect the button…Any idea why is happening this?

Thanks in advance
Please show runnable code.

The previous issue was already solved. I was searching for the wrong element...however I am not able to make click in the next button:

[Image: cookies.jpg]

The website is:

I have tried several methods with XPATH and is not working. The element is detected but, I can't make click on it:

For example I used the next methods without any success:

WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.XPATH,"//button[@value='1'][@id='u_0_c']"))).click()

or this one:

WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.XPATH,"//*[@id="u_0_6"]"))).click()


Any idea?

thanks a lot!

Possibly Related Threads…
Thread Author Replies Views Last Post
  Get element (ID) from website to login Olimpiarob 4 1,689 Jul-28-2020, 01:20 PM
Last Post: Martinelli
  find dont work windows11 6 1,004 Apr-23-2020, 11:13 PM
Last Post: law

Forum Jump:

User Panel Messages

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