Python Forum
Click on a Drop-down button with selenium Python - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html)
+--- Thread: Click on a Drop-down button with selenium Python (/thread-5749.html)



Click on a Drop-down button with selenium Python - AcszE - Oct-19-2017

Hello, I'm trying to click on a drop-down button in selenium pyChrome, but nothing seems to work for me Confused by clicking on the inspect option in the button I get:

I have tried with several numbers of xpath like:
//div[@id='trigger']
//div[@class='dropdown-trigger style-scope paper-dropdown-menu']
//paper-input-container[@class='style-scope paper-input']
Don't know if this one is possible but I had to try it
I have tried with class or id attributes too but they are not clickable or maybe I'm doing something wrong. I would apreciate some help for this, thank you! Smile


RE: Click on a Drop-down button with selenium Python - metulburr - Oct-22-2017

what is the actual website you are obtaining the HTML from?


RE: Click on a Drop-down button with selenium Python - AcszE - Oct-25-2017

(Oct-22-2017, 08:14 PM)metulburr Wrote: what is the actual website you are obtaining the HTML from?

It is from youtube.com


RE: Click on a Drop-down button with selenium Python - vardhhan - Oct-25-2017

what is the actual website ??

Post you query clearly didn't mentioned any website simply you are asking only dropdown button
Error: