Comments (5)
Well........
I'm too stupid, thank you)
from rod.
Sorry, that's too hard to understand what's happening to you. I need more info to understand how to reproduce your issue on my local.
Here's the example to use the code:
https://github.com/ysmood/rod/blob/3ae35ce463f28e3ce8055e6dafda5eb33f39fc53/browser_test.go#L70-L72
Or can you show me your code that doesn't work?
from rod.
i need to click button to close the alert and auth, how can i close the alert in headless mode?
from rod.
Look at my code carefully π , the HandleAuth
should be set up before the Navigation, your code should be:
browser.HandleAuth("a", "b")
page := browser.Page("https://ifconfig.co")
If this dialog blocks your navigation, how can your code go on? Think twice π
from rod.
BTW, the comment of the HandleAuth is very clear: HandleAuth for the next basic HTTP authentication.
It's the next
dialog, not the previous π
from rod.
Related Issues (20)
- Is it possible to improve Screenshot's fullPage implementation? HOT 1
- Why doesn't it remember the window size now? HOT 11
- Bug Select Frame Element HOT 2
- Bug element's pointer-events is none HOT 4
- Download in headless mode is failing, but works fine otherwise HOT 6
- Dear go-rod production team, I would like to ask you a question about remote connections and using proxies. HOT 3
- Is there a way to get css rules associated with an element ? HOT 2
- Add a JS script to browser HOT 3
- Missing Request Body When Loading "https://www.booking.com" Using go-rod HOT 2
- [bug] Page.EachEvent call is not reusable for the second time HOT 2
- but cannot check the element nodes on go-rod. HOT 5
- I have a print button on UI, on clicking that the print dialog box doesn't open in browser launched from rod. HOT 6
- Is there any way to wait for a certain element in the page: HOT 5
- Any way to launch multiple browsers with different users each? HOT 1
- Exporting the full page as PDF (single page) HOT 1
- Ignoring the error "element's pointer-events is none" HOT 2
- θΏη¨ε―ε¨θ’«ζε ζ ζ³ιεΊ ε―Όθ΄ιζ» HOT 3
- Upload file on Managed Launcher? HOT 2
- Does rod support separate sessions or incognito mode? HOT 2
- if err == nil εηι»θΎδΈδΌζ§θ‘ HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rod.