0
(# This is code no Proxy issue in my personal system and pls let me know the pre-requisite as well as ) 
    
    from selenium import webdriver
    driver = webdriver.Remote(command_executor='http://localhost:9999', desired_capabilities={'app': "C:\\Windows\\SysWOW64\\calc.exe"})  #this is path
    driver.find_element_by_name("Two").click() #click on 2 number of calculator 
    time.sleep(2)
    driver.find_element_by_name("Multiply by").click() #click on Multiple button of calculator 
    driver.find_element_by_name("Eight").click() #click on 8 number of calculator 
    driver.find_element_by_name("Equals").click() #click on equal button of calculator

(#这是我个人系统中的代码没有代理问题,请让我知道先决条件以及)

4

0 回答 0