![]() ![]() I read many articles on internet, but no solution seems to be solving my problem. After executing the script the file will be downloaded to the desired location. On executing this script, the tester should be able to automate file download using Selenium and Python. But I am getting error as shown below : Traceback (most recent call last):įile "C:/Users/Administrator/PycharmProjects/test/Test/test1.py", line 5, in ĭriver = webdriver.Chrome(r"C:\Users\Path_to_driver\chromedriver.exe")ĪttributeError: module 'selenium.webdriver' has no attribute 'Chrome' When put together from step 1 to step 4, the code looks as below. and I also tried running it from python IDLE. ChromeDriver - WebDriver for Chrome - Downloads Downloads Current Releases If you are using Chrome version 111, please download ChromeDriver 1.64 If you are using Chrome version 110, please download ChromeDriver 1.77 If you are using Chrome version 109, please download ChromeDriver 1. ![]() I have triple checked webdriver path etc. My simple code is this: from selenium import webdriverĭriver = am getting below error when I run the code. Mozilla Firefox is the default web browser of Selenium WebDriver. It supports popular operating systems such as Windows, Mac OS, Linux, and Solaris. Now I am trying to create a selenium script using P圜harm. Selenium WebDriver supports most of the popular programming languages used by developers and testers, namely Python, Java, C, Ruby, and more. I have also installed selenium in my python path. I have installed python 2.7 and pip in my environment variables. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |