Skip to content
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

Bug Select Frame Element #1012

Closed
rgunindi opened this issue Feb 21, 2024 · 2 comments
Closed

Bug Select Frame Element #1012

rgunindi opened this issue Feb 21, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@rgunindi
Copy link

rgunindi commented Feb 21, 2024

                                el, _ := page.Element("#videoSection")
				el.MustWaitVisible()
				frame01, _ := el.Frame()
				fmt.Println(frame01.FrameID) // Getting ID
				fmt.Println(frame01.IsIframe()) // true
                                               
				els, err := frame01.Element(".play-button") //And Panic exactly this line, not catching the error.
				if err != nil {
						fmt.Println("No elements found with the specified XPath")
						return
				}

It is also correctly selected in the browser and recorded with the same selector.

Rod Version: v0.114.7

Copy link

Please add a valid Rod Version: v0.0.0 to your issue. Current version is v0.114.7

generated by check-issue

@ysmood ysmood added the duplicate This issue or pull request already exists label Feb 21, 2024
@ysmood
Copy link
Member

ysmood commented Feb 21, 2024

#548

@ysmood ysmood closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants