Choose file or upload file Selenium Automation with Python, Pycharm IDE

Trikam Patel
Trikam Patel
703 بار بازدید - 3 سال پیش - Choose file or upload file
Choose file or upload file - Selenium Automation with Python, Pycharm IDE
Click See More for the code:
Code Starts Here - - - - - - - - - - - - - - - - - - - - *- - -  - - - - - - - - - - - - -

from selenium import webdriver
import time
driver = webdriver.Chrome(executable_path="C:/Program Files (x86)/Google/Chrome/Application/chromedriver.exe")
driver.get("G://trikam/upload.html")
driver.maximize_window()
time.sleep(5)

driver.find_element_by_id("icondemo").send_keys("C:/Users/Surajptl/Pictures/123.jpg")
3 سال پیش در تاریخ 1400/11/03 منتشر شده است.
703 بـار بازدید شده
... بیشتر