Try to search your question here, if you can't find : Ask Any Question Now ?

How can open href at python?

HomeCategory: stackoverflowHow can open href at python?
pushpa asked 1 week ago

I want open ‘text’ botton
but i cant open it
how can i do?

from selenium import webdriver
import time

driver = webdriver.Chrome(path)
driver.get("https://www.pdfescape.com/account/unregistered/")
time.sleep(0.5)
elem = driver.find_element_by_id("dStartNew").click()
time.sleep(0.5)
elem = driver.find_element_by_id("PdfNew_input_pc").click()
driver.find_element_by_css_selector("[value="2"]").click()
#time.sleep(0.5)
elem = driver.find_element_by_id("PdfNew_input_ps").click()
driver.find_element_by_css_selector("[value="a4"]").click()
#time.sleep(0.5)
driver.find_element_by_xpath('//*[@id="PdfNew_form"]/input[1]').click()
time.sleep(0.5)
driver.find_elements_by_class_name('Add-Text'),click()
1 Answers
Best Answer
Arben answered 1 week ago
Your Answer

20 + 20 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com