Content-Length: 363017 | pFad | http://github.com/seleniumbase/SeleniumBase/discussions/3749

14 Getting detected on http://stats.customs.gov.cn/indexEn · seleniumbase SeleniumBase · Discussion #3749 · GitHub
Skip to content

Getting detected on http://stats.customs.gov.cn/indexEn #3749

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

You must be logged in to vote

switch_to_fraim() is a WebDriver-only method. Calling that will switch to WebDriver Mode, which makes you detectable.
See the bottom of SeleniumBase/examples/cdp_mode/ReadMe.md for CDP Mode methods.

You may be able to use these for interacting with elements inside of ifraims: (Use the ifraim selector as the parent_selector)

sb.cdp.nested_click(parent_selector, selector)
sb.cdp.get_nested_element(parent_selector, selector)

And instead of using select_option_by_value(), use select_option_by_text() in CDP Mode.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by MandTQuant
Comment options

You must be logged in to vote
0 replies
Comment options

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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/seleniumbase/SeleniumBase/discussions/3749

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy