Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
selenium prints weird things...
#8
You could run code that i have posted or add this to your code that run Selenium.
import sys

print(sys.executable)
Output:
C:\python37\python.exe
This will give the root to the Python interpreter that is used.
Then the changes for me should be done here.
C:\python37\Lib\site-packages\selenium\webdriver\common\service.py

If i had used virtual environment,Anaconda,ect... it would have point to a other Python interpreter,
the i would have needed to make changes there.

Then as posted open service.py and add creationflags=CREATE_NO_WINDOW and save.
Run code again and see if DevTools listening is gone.
Reply


Messages In This Thread
selenium prints weird things... - by julio2000 - Feb-23-2020, 07:48 PM
RE: selenium prints weird things... - by snippsat - Feb-23-2020, 08:35 PM
RE: selenium prints weird things... - by julio2000 - Feb-29-2020, 04:26 PM
RE: selenium prints weird things... - by snippsat - Feb-29-2020, 04:48 PM
RE: selenium prints weird things... - by drain3r - May-24-2021, 11:04 PM
RE: selenium prints weird things... - by julio2000 - Feb-29-2020, 09:42 PM
RE: selenium prints weird things... - by snippsat - Feb-29-2020, 10:42 PM
RE: selenium prints weird things... - by julio2000 - Mar-01-2020, 09:08 PM
RE: selenium prints weird things... - by snippsat - Mar-01-2020, 09:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  selenium prints weird things... julio2000 0 1,609 Apr-13-2020, 06:16 PM
Last Post: julio2000
  Selenium weird error julio2000 0 1,707 Feb-23-2020, 01:24 PM
Last Post: julio2000
  Error in Selenium: CRITICAL:root:Selenium module is not installed...Exiting program. AcszE 1 3,681 Nov-03-2017, 08:41 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020