2 + 4 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

You are here

Python not activating Selenium

2 posts / 0 new
Last post
Jonathan
Jonathan's picture
Python not activating Selenium

I have a Selenium issue working on Python, I have a python application that will not open my chromedriver, that functions perfectly okay when I open it in a Java application, so it is not ChromeDriver itself , but the configuration of Python. Can anyone out there help? Thanks,

Cool

SiteAdmin
SiteAdmin's picture
Few Comments from LinkedIn

When trying to replicate in python a selenium program that was written in Java, and running it with Python the program the Chrome Driver opens a window an immediately crashes popping up a error window stating "chromedriver.exe has stopped working", but it does not happen when run in Java. Program executes and terminates normally. 

Here are few ideas to solve the issue:

  1. Verify the following configurations:
    1. driver=webdriver.Chrome()
    2. driver.maximize_window()
    3. driver.implicitly_wait(30)
    4. driver.set_page_load_timeout(120)
    5. driver.set_script_timeout(30)
    6. have ChromeDriver binary present in your PATH variable
  2. verify browser - driver version for incompatibility (use the latest versions of both),
  3. URL issues (that might be mitigated using raw strings),
  4. OS related issues (chromedriver has a history of crashing on Windows when running large test suites but that does not seem to relate to your problem),
  5. Resource issues (like missing files), Python-version driver issues with PATH (even if correctly set)
  6. If you are using Webdriver 3.x version, problems might be more frequent just because it's so new and Python bindings for Webdriver may have poorer support than, say, Java or Ruby bindings. When your Webdriver script in Python crashes, the traceback may provide useful insights into what might have gone wrong,
  7. Check the logfile.
  8. Running command line python in a Windows 64bit environment, might use python IDE
  9. Make sure python version and selenium-webdriver python package compatibility
  10. Verify you have the correct chrome driver for your OS.
  11. Verify that you have added the chrome driver on your PATH. 
  12. Add chromedriver.exe file in your windows folder :"C:\Windows\System32"

 

Log in or register to post comments

MANUFACTURERS Wallboard

Testing tool manufacturers world-wide list
10Levels ABID CONSULTING Accord Software ActiMind AdaCore AdaLog
AgileLoad AgileWay Agitar Algorismi ALL4TEC Android
Apache Apica Apollo Systems AppAssist.mobi Applitools AppPerfect
Appsee ApTest Assertible Assure Atlassian AutoIt Consulti ..
Automation Anyw .. Automation Cons .. Aztaz Software Backtrace I/O Badboy BlazeMeter
Borvid BrowserStack BSQUARE BStriker Intern .. CA Technologies Canonical
Canoo Catch Limited CelestialTeapot Celtic Testing .. Chris Mallett Cleanscape
CloudQA CodeCentrix CodePlex projec .. Codoid Cogitek Compuware
Configure IT Conflair ConSol Core Services Countersoft CresTech Softwa ..
Cross Browser T .. Cross Check Crowdsourced Te .. Cucumber Ltd Cyara Cygnet Infotech
DareBoost Databene Datamatics Glob .. DevExpress DTM soft Dynatrace LLC
EasyQA Eclipse EKA TechServ Elvior Emmanuel Jorge Empirix
EPAM Systems Equafy Esterel eXept Software .. Experitest Finaris
Froglogic FrontEndART Ltd GeneXus GitHub project gnoso Google Code Pro ..
GrammaTech Gurock Software Hewlett Packard .. Hexawise High-Tech Bridg .. Hiptest
Hitex IBM Rational imbus Shanghai Impetus Inflectra informUp
INTALIO intechnica Ipswitch JadeLiquid Soft .. Jamo Solutions JANOVA
JAR Technologie .. JBoss Developer jClarity Jellly.io JetBrains Jively
jQuery foundati .. Jspresso Kanoah Software KMS Technology Kualitee LDRA Limited
Litmus LoadFocus Loadster Perfor .. MarathonITE Marketcircle Marketcircle
Maveryx Meliora Ltd Micro Focus Sof .. Microsoft Mobile Labs Mobile1st
Mockaroo, LLC ModalLogic IT Monkop Inc Mozila MSys Technologi .. Navicat
NeoTys NetCart Netvantage Tech .. NMQA NORIZZK.COM Novosync Mobili ..
NRG Global NTT Resonant OC Systems Odin Technology OpCord Oracle
Orcanos Original Softwa .. Ossia Conseil OW2 PANAYA Parasoft
PassMark Patterson Consu .. Perfecto Mobile Pivotal Labs Plutora Polarion
Postman (API To .. PractiTest PrimaTest Process One Programming Res .. Psoda
PureLoad PushToTest Python Q-Assurance QA Systems QACube
QASymphony QMetry Quali QualiTest Qualitia Softwa .. Quality First S ..
Quotium RadView Softwar .. Ranorex RedLine13 Reflective Solu .. ReQtest
RevDeBug Robotium Tech Rogue Wave Soft .. Rommana Softwar .. RTTS ruby-doc.org
Runscope Sandklef GNU La .. Sauce Labs Seapine Softwar .. SeleniumHQ Sencha
Sensiple SmartBear Softw .. SmarteSoft SOASTA SoftLogica Softomotive
Softsmith SolutionSoft Sy .. SonarSource Sourceforge SqashTeam SQS Software Qu ..
Square Stimulus Techno .. Swifting AB Synopsys T-komp T-Plan
TechExcel TechTalk Telerik By Prog .. Tellurium Test Goat Test Recon
TestCaseLab testCloud.de Gm .. Testenium Testim.io Testing Technol .. TestingBot
TestLodge Testmunk TestObject GmbH TestOptimal TestPlant TestPro
Testuff The Core Bankin .. The MathWorks The Open Group thePHP.cc Thoughtbot
Thoughtworks Tigris.org Time Simulator Top-Q Trace Technolog .. TrendIC
TRICENTIS Tritusa Pty Ltd TuniTEAM TWD Solutions P .. TypeMock Tyto Software
Ubertesters UniTESK Universal Test .. Usetrace Ltd Utrecht Univers .. Validata Group
Vanamco AG Vector Software Veracode Verifaya Corpor .. Verit VersionOne
Viewlike.us Vornex Inc. Watir.com WcfStorm Soluti .. We Are Mammoth Web Performance ..
Wikidi Wintask Wireshark Found .. Worksoft Xceptance XebiaLabs
XK72 XQual YesSo YouWave ZAP technologie .. Zeenyx Software ..
Zephyr Zeta Software zutubi pty

Selenium Youtube Playlist

Theme by Danetsoft and Danang Probo Sayekti