Selenium Python Tutorial #8 - How to Run Selenium Test in Chrome

preview_player
Показать описание
In this Selenium Python Tutorial, we will learn how to run selenium test in chrome browser. Before we can start writing automation script in Selenium Python we need to setup our development environment and install Selenium libraries and ChromeDriver for Chrome.

In this video you will learn how to setup ChromeDriver and run your first automated test in Chrome browser.

Disclosure: Some links are affiliate links to products. I may receive a small commission for purchases made through these links.

Help me in spreading the knowledge, please hit LIKE, SHARE, and SUBSCRIBE for the latest tutorials. More tutorial playlists below:

🔶 ENROL IN MANY FREE TRAININGS ON RCV ACADEMY PORTAL 🔶

🔶 FOLLOW US ON TWITTER 🔶

🔶 LIKE US ON FACEBOOK 🔶

🔶 OUR TUTORIAL WEBSITES 🔶

🔶 GET MY TRAININGS ON UDEMY 🔶

#SeleniumPythonTutorial #PythonSelenium #SeleniumPython #PythonSeleniumTutorial #SeleniumWebdriver #TestAutomation #SoftwareTesting #RcvAcademy #SoftwareTestingMentor
Рекомендации по теме
Комментарии
Автор

This is really good teaching. I like how he explains the reasons why we have to do certain things instead of leaving us wondering.

bluebull
Автор

my chrome browser version is not available in selenium hub so i tried latest version but it throw an error of "executable_path" and "service " not compatable, how can i procced sir
can you please take one of the video on new updation and plugin

pvplvsc
Автор

Using unsupported Kite and methods that are deprecated.

Not seeing value in continuing.

Chris-eruj
Автор

Hi Mentor, I am trying to learn selenium using python, unfortunately I noticed that few imports and files are discontinued due to which whatever you were showing above is not working now, like example executable_path. any new and recent videos or any suggestions pls. TIA

sivag
Автор

Hi Sir,
I am facing this issue.

Python_selenium\first Test_Selenium.py:1: SyntaxWarning: invalid escape sequence '\c'
from selenium import webdriver

TypeError: WebDriver.__init__() got an unexpected keyword argument 'executable_path'

Process finished with exit code 1

viswadeepaksingh
Автор

Thank you so much sir. You are the best. God bless u sir 🙂

PanchTarka
Автор

Unable to find chrome driver. Please help me

Sreekanth_yes
Автор

thanks for everything! first really good video which works for me, never could open the webdriver! thanks a lot

hairlessstyle
Автор

can you make a video with the latest Chrome driver, which is suggested in the video it is not working when I am trying to practice, can you create a video for other browsers too

prp
Автор

driver = webdriver.Chrome()

execute path is depricated, now selenium has auto driver capabilities.

praveenkk
Автор

Why does my Chrome browser closes immediately after opening up on Mac? Does anyone have solution for it?

IamDrunk
Автор

Hi sir,
I have done all the setup that you told but while extract the chromedriver zip I unable to find the '.exe file'.. That's why I'm unable to run the script. Please help me on this issue.

satyaprakashdalai
Автор

Hello sir, may be this video should be updated as the "DeprecationWarning: executable_path" warning comes because it will be removed in future. It will be easy for new comers to understand in better way.

ruchakasar
Автор

thank you sir. ready to proceed on next video

andreilaya
Автор

I am also getting below error:

DeprecationWarning: executable_path has been deprecated, please pass in a Service object
driver =
.
.
File "C:\Users\kamesmur\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 249, in check_response
raise exception_class(message, screen, stacktrace)
Message: unknown error: Chrome failed to start: exited normally.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location C:\Program is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Stacktrace:

kameshwaran
Автор

Hi sir, im using selenium 4.15.2 with python 3.11, in your videos i have seen that you are using (executable_path) to give the chromedrive path.
please suggest with code, to launch a chrome browser. it will be very helpfull.
Thank you😇

MuzammilKhan-ssuk
Автор

Hello, I hope you have been doing well. I am trying to run the command however the Browser closing automatically after the tests without calling quit or close () manually. How can I keep the browser open?

gulihalilova
Автор

hi getting "TypeError: __init__() got an unexpected keyword argument 'executable_path'" this error when i execute the program

Shubhamzingh
Автор

Am not able to run my file in python. file showing three horizontal lines front of name. Can anyone help this is happening?

ruchikamboj
Автор

Where and how do I donate to your channel?

VBJ