Running Automation Tests on Chrome Browser using PyCharm, Selenium and Python on Mac

preview_player
Показать описание
This video explains how to Run Automation Tests on Chrome Browser using PyCharm, Selenium and Python on Mac

♥️ Subscribe Few Steps:

Code for this video:

from selenium import webdriver

drive = webdriver.Chrome(executable_path='../drivers/chromedriver')

#python #datascience #fewsteps. #html #tutorial
Рекомендации по теме
Комментарии
Автор

Hi I am getting an error after running the file “chromedriver” cannot be opened because the developer cannot be verified. what should I do to resolve this?

journeystudio
Автор

thanks man I search a lot of videos how to open a browser from pycharm and yours are helped me a lot

makislaspas
Автор

Thank you so much Few Steps for this tutorial . I was googling how to do for Mac from last few days . But nothing was working for me. I just saw your two videos and made it work perfectly

GG-hkiz
Автор

I spend a lot of time and only with you did it!!!! Thank you a lot!!!!

imserg-ai
Автор

This video was really helpful! still working on 2022!

nacomaco
Автор

Thank you! This video was very helpful 😊

leoen
Автор

This was seriously very very helpful..

sreevidhyakeshava
Автор

Thank you, you've been very helpful.

ricardopizarro
Автор

Thanks for the information...really helped

bidit
Автор

Is there any way to launch chrome driver without executable file

praveenjaldawar
Автор

What if ik get "chromedriver kan niet worden geopend omdat de ontwikkelaar niet kan worden geverifieerd"😥

TheBossTheHartz
Автор

DeprecationWarning: executable_path has been deprecated, please pass in a Service object. driver =

arkatovdima
Автор

I get this error.. and don't know why
**This is what I wrote :
from selenium import webdriver
drive =
**This is the error:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/selenium/webdriver/common/service.py", line 72, in start
self.process = subprocess.Popen(cmd, env=self.env,
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 947, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1819, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '../drivers/chromedriver'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/selenium/webdriver/chrome/webdriver.py", line 73, in __init__
self.service.start()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/selenium/webdriver/common/service.py", line 81, in start
raise WebDriverException(

adamvahaba
Автор

Too Slow man.why you are repeating one thing multiple times.

hemanthkumar
visit shbcf.ru