Skip to content

Hyperlinks #2239

Answered by mdmintz
GalaxyPony33 asked this question in Q&A
Discussion options

You must be logged in to vote

One: SeleniumBase automatically opens links in new tabs if there's bot-detection software on those websites. (It checks first). There are additional methods for that: (Covered in this video: https://www.youtube.com/watch?v=5dMFI3e85ig)

driver.uc_open(url)
driver.uc_open_with_tab(url)
driver.uc_open_with_reconnect(url, reconnect_time=None)
driver.uc_click(selector)

Be sure to use those methods when the default behavior isn't good enough. And be sure to watch the video for details.

Two: If you directly type a URL with the keyboard into the browser's address bar, then you're going to get detected because chromedriver is still attached to Chrome. That's the primary thing that bot-detection se…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants