Is there any way I can navigate Firefoxes toolbar after clicking on a loaded website, I'm using Responsive Design Mode but I want to change it without using a mouse. Pressing Tab is the best idea I had but it doesn't work because it just presses tab on the site that's open not the toolbar. There is no hot-key/s for changing the RDM (that I know of), I'm trying to change it from responsive to galaxy S9 (top of the list). I want to be able to do this with only keyboard or solong as it dosn't require mouse movment.
I was using mouse before, doing something like this:
pyautogui.click(762, 136)
pyautogui.click(787, 184)
(I'm just clicking the space where the toolbar is)
But I ran into some compatability issus and I thouhght it was bad codeing anyway so I wanted to find a more robust way of doing it.
I'm using the Gecko webdriver.
Where I want to navigate to is highlighted in yellow
question from:
https://stackoverflow.com/questions/65919992/python-selenium-firefox-toolbar-navigation 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…