Python Forum

Full Version: Click on a Drop-down button with selenium Python
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
what is the actual website you are obtaining the HTML from?
(Oct-22-2017, 08:14 PM)metulburr Wrote: [ -> ]what is the actual website you are obtaining the HTML from?

It is from youtube.com
what is the actual website ??

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