question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[🐛 Bug]: Inconsistent shutdown behavior between drivers

See original GitHub issue

What happened?

I was trying to use the new feature Selenium Manager using Edge browser Unfortunately, after every successful run of the program, the browser gets automatically closed

Language: Python Editor: Pycharm

Note: Firefox browser is working fine till now.

How can we reproduce the issue?

from selenium import webdriver

driver = webdriver.Edge()
driver.get("https://www.google.com/")

Relevant log output

It ran successfully, so there is no log to show from the console.

Operating System

Windows 10 pro

Selenium version

Selenium 4.6.0

What are the browser(s) and version(s) where you see this issue?

Microsoft Edge 107.0.1418.56

What are the browser driver(s) and version(s) where you see this issue?

No driver has been used

Are you using Selenium Grid?

No

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
titusfortnercommented, Nov 25, 2022

Did a run through of existing behaviors of different languages:

  • Ruby - ensures all drivers are quit with #at_exit; drivers are attached to a process group, which we think also closes all processes opened by the driver, so browsers exit as well.
  • Python - ensures all drivers are quit with __del__(), but browsers remain open
  • Java - does not close anything at program complete
  • .NET - does not close anything at program complete
  • JS - (unknown)

Ideally the behavior is the same between languages and browsers, let’s discuss at next TLC meeting.

0reactions
titusfortnercommented, Dec 5, 2022

A little in the channel. It was added right after the last tlc meeting.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Inconsistent BSOD errors. Tried a lot of fixes, please for my ...
Hey All, Im really hoping someone who can deeply anyalyze the minidump files can at least point me to what driver/hardware might be...
Read more >
Inconsistent flows with DVR l2pop VxLAN on br-tun
We tried with the native and ovs_ofctl interfaces, same behavior. From where Neutron get the flows to add/update/remove, from the ports table ?...
Read more >
How to Fix Monitors Turning Off After Boot on Windows?
There are a lot of Windows users reporting that their monitor/s turn off unexpectedly shortly after boot without an apparent reason.
Read more >
DRIVER POWER STATE FAILURE - Dell Community
This bug check indicates that the driver is in an inconsistent or invalid power state. Please run diagnostics on the system to confirm...
Read more >
Driver Hub Troubleshooting - DUO Control System
"App Not Installed" Error · 1. Remove the Driver Station app icon on the home page by clicking and dragging to the X...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found