Open KirtanAPatel opened 5 years ago
Hi, I'm not able to perform more than 1 click operations as the driver ends on its own after the 1st operation. Below is the code I'm using
from selenium import webdriver
driver = webdriver.Remote( command_executor='http://localhost:9999', desired_capabilities={ "debugConnectToRunningApp": 'false', "app": r"C:/windows/system32/calc.exe" })
nine = driver.find_element_by_name("9") nine.click() add = driver.find_element_by_name("Add") add.click() six = driver.find_element_by_name("6") six.click() eq = driver.find_element_by_name("Equals") eq.click()
It does work for from selenium import webdriver
nine = driver.find_element_by_name("9") nine.click()
If more than 1 click operations are present the operation doesn't succeed. Can you help me out here..!!
I Have a similar issue, using python as you are, it opens the app (so calculator in this instance) but then does nothing else.
It doesn't even throw up an exception, it just sits there and does nothing.
Hi, I'm not able to perform more than 1 click operations as the driver ends on its own after the 1st operation. Below is the code I'm using
from selenium import webdriver
driver = webdriver.Remote( command_executor='http://localhost:9999', desired_capabilities={ "debugConnectToRunningApp": 'false', "app": r"C:/windows/system32/calc.exe" })
nine = driver.find_element_by_name("9") nine.click() add = driver.find_element_by_name("Add") add.click() six = driver.find_element_by_name("6") six.click() eq = driver.find_element_by_name("Equals") eq.click()
It does work for from selenium import webdriver
driver = webdriver.Remote( command_executor='http://localhost:9999', desired_capabilities={ "debugConnectToRunningApp": 'false', "app": r"C:/windows/system32/calc.exe" })
nine = driver.find_element_by_name("9") nine.click()
If more than 1 click operations are present the operation doesn't succeed. Can you help me out here..!!