Answer the question
In order to leave comments, you need to log in
How to switch page in Selenium?
Hello, how can I switch the page to "Wheel" on the site (rublix.best) (prnt.sc/ueso6p)?
Tried it this way:
from selenium import webdriver
driver = webdriver.Chrome()
driver.get("https://rublix.best/")
time.sleep(20)
wheel = driver.find_elements_by_xpath("/html/body/div[1]/div[1]/nav/ul[1]/li[2]/a")
wheel.click()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question