can someone translate this into python code so, for example, I know the first and second line will be
driver.get("link im using")
driver.set_window_size(945, 757)
I just can't figure out the rest
can someone translate this into python code so, for example, I know the first and second line will be
driver.get("link im using")
driver.set_window_size(945, 757)
I just can't figure out the rest
The equivalent python code for:
will be:
driver.get("link im using")
driver.set_window_size(945, 757)
driver.switch_to.frame(1)
driver.find_element_by_css_selector(".tg-join > span").click()
You can find a couple of relevant discussions in:
to select a frame you can use
driver.switch_to_frame()
to click on an item you can use
driver.find_element_by_xpath().click()
to switch to a window
driver.switch_to_window()