Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

could you please help me with this problem i have working in this problem wich is need to test a website while i am doing

could you please help me with this problem

i have working in this problem wich is need to test a website

while i am doing it via pycharm

telling me there is a worng in my program

what sholud i do

image text in transcribedimage text in transcribed

explain to me where Is the problem and why is not working on pycharm where spouse The code made it for for testing the website

from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys Bimport time # using firefox driver = webdriver.firefox # using web url driver.get("https://www.opencart.com") # select class name where is input box are present egement - driver.find_elemnts(By.CLASS_NAME, "text_field") | # find the number of outbox print(len(element)) # fill value in input box # fill value in input box driver.find_element_by_xpath(*//*[@id="RESULT_TextField-1"]').send_keys("praveen") driver.find_element_by_xpath('//*[@id="RESULT_TextField-2"] 9. send_keys ("Yadav") driver.find_element_by_xpath('//*[Qid="RESULT_TextField-3"] ').send_keys ("87871111"). C:\Users\admin PycharmProjects\python Project7\venv\scripts\python.exe C:/Users/admin/PycharmProjects/python Project7/main.py Traceback (most recent call last): File "C:\Users\admin\PycharmProjects\pythonProject7\main.py", line 1, in from selenium import webdriver5 ImportError: cannot import name 'webdriver5' from 'selenium' (C:\Users\admin PycharmProjects\pythonProject7\venv\lib\site-packages\selenium\_init__.py) Process finished with exit code 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual C# And Databases

Authors: Philip Conrod, Lou Tylee

16th Edition

1951077083, 978-1951077082

More Books

Students also viewed these Databases questions

Question

2. Is Targets store brand strategy working? Explain.

Answered: 1 week ago

Question

Tell the merits and demerits of Mendeleev's periodic table.

Answered: 1 week ago