Open swizzley opened 4 years ago
This code might have something to do with what you are seeing (but I notice you did not post any logs/output) https://github.com/headzoo/surf/blob/master/browser/browser.go#L381:L384
Appending to an allocated slice actually starts appending from the end of the slice, meaning the first few items would be nil.
https://play.golang.org/p/xcoVT0Rpqk2 has some demo code that shows this.
I have submitted this PR https://github.com/headzoo/surf/pull/125 to fix the issue.
I've tried selecting this form 9 ways from sunday, and finally tried
bow.Forms()
only to find the array is empty. Am I on a bad branch or something?