-
Notifications
You must be signed in to change notification settings - Fork 982
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documenting driver
-specific methods added by SeleniumBase
#2200
Comments
First of all, I congratulate you on your project, it's crazy, but I would like to ask you how I would go about adding options. How i can do something like that? |
@boludoz, thank you. Most of those are already being set automatically as needed for UC Mode.
You can change the agent with That assumes you are using the |
You have done a great job, I really congratulate you! |
First and foremost, I express my gratitude for developing such an excellent framework. I am currently encountering a small issue. I wish to utilize the Socks5 option in SeleniumBase, similar to how I would in normal uc mode. However, I am unable to find an argument option for this. Could you kindly provide a boilerplate code snippet, considering that I have a 'proxylist.txt' file and need to randomly select a proxy for each test run without manually specifying them one by one in pytest? I've been using the following code snippet for regular mode: options.add_argument(f"--proxy-server=socks5://{proxy_address}:{proxy_port}") I would appreciate any guidance or assistance you can offer. Thank you. |
For socks5, use “socks5://“ in your “proxy” arg. |
Thank You So Much, Resolved instantly !!! |
Dear mdmintz, one more very minor issue
` I get this error unable to open new tab or switch between them |
@bbajwa346 Open a new tab and switch to it: Open a new tab and stay on the current tab: The standard SeleniumBase syntax formats have a lot more methods than what the driver has. |
Documenting
driver
-specific methods added by SeleniumBaseBecause there are Syntax Formats that use the
driver
API directly, these methods have been added directly into the documentation in the method_summary.md file: 88fcf7eHere are example tests that use those direct
driver
methods:The text was updated successfully, but these errors were encountered: