qxf2 / qxf2-page-object-model

Write Selenium and Appium tests in Python using the Page Object pattern. This Pythonic GUI and API test automation framework will help you get started with QA automation quickly. It comes with many useful integrations like - email, BrowserStack, Slack, TestRail, etc. This repository is developed and maintained by Qxf2 Services.
https://qxf2.com
MIT License
256 stars 191 forks source link

The Stacktrace prints out unknown message when chromedriver version isnt updated #412

Open avinash010 opened 1 month ago

avinash010 commented 1 month ago

Probably we don't need this stack trace to be printed when we get the ChromeDriver version issue

Python says:Message: session not created: This version of ChromeDriver only supports Chrome version 124 Current browser version is 126.0.6478.55 with binary path /opt/google/chrome/google-chrome Stacktrace:

0 0x5ccce5cd5e33

1 0x5ccce59c5567

2 0x5ccce59ff8eb

3 0x5ccce59feab7

4 0x5ccce59f9c99

5 0x5ccce59f58c0

6 0x5ccce5a3e71d

7 0x5ccce5a32103

8 0x5ccce5a031ba

9 0x5ccce5a03b8e

10 0x5ccce5c9a59b

11 0x5ccce5c9e34b

12 0x5ccce5c86681

13 0x5ccce5c9eeb2

14 0x5ccce5c6b6af

15 0x5ccce5cc5428

16 0x5ccce5cc5600

17 0x5ccce5cd4f84

18 0x7f9130e94ac3

ERROR

==================================== ERRORS ==================================== _____ ERROR at setup of test_example_form[Chrome] __ ../pom_venv/lib/python3.10/site-packages/_pytest/runner.py:340: in from_call