seleniumbase / SeleniumBase

📊 Python's all-in-one framework for web crawling, scraping, testing, and reporting. Supports pytest. UC Mode provides stealth. Includes many tools.
https://seleniumbase.io
MIT License
4.45k stars 908 forks source link

"You can open bookmarks..." pop-up is now appearing since Chrome 125. #2836

Closed mdmintz closed 3 weeks ago

mdmintz commented 3 weeks ago

"You can open bookmarks..." pop-up is now appearing since Chrome 125.

Full text: You can open bookmarks, reading mode, and more from the Chrome menu.

Screenshot 2024-05-24 at 12 11 53 PM

It must be purged from Chrome browsers during tests, as it is quite annoying to users.

There's likely a Chrome option to prevent the side panel from getting pinned like that.

mdmintz commented 3 weeks ago

This was resolved in 4.27.4 - https://github.com/seleniumbase/SeleniumBase/releases/tag/v4.27.4

luckman212 commented 5 days ago

Can anyone tell me what option(s) I need to supply to disable this? It pops up seemingly randomly, about 20-30% of the time...

I'm using chromedriver 126.0.6478.126

from selenium.webdriver.chrome.options import Options

options = Options()
options.add_argument(...) <== what goes here
mdmintz commented 5 days ago

@luckman212 Which version of SeleniumBase are you using? It's fixed in the latest.

luckman212 commented 5 days ago

Thanks @mdmintz — 4.22.0 I think? I'm using Python venv and installed via pip install selenium. This could be an ID 10T/PEBKAC problem for sure, as I'm just getting started.

$ pip list --local --format=json | jq 'map(select(.name|test("selenium")))[]'
{
  "name": "selenium",
  "version": "4.22.0"
}
mdmintz commented 5 days ago

@luckman212 I think you're looking for: https://github.com/SeleniumHQ/selenium. This is the SeleniumBase repo - (https://github.com/seleniumbase/SeleniumBase).

That popup won't appear in the latest version of SeleniumBase, (which is4.28.0).

luckman212 commented 5 days ago

Oh dear. How embarrassing (for me). I apologize, but glad I accidentally stumbled in here. SeleniumBase looks awesome!