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

Failed to deserialize params.nodeId when attempting to click a button #425

Closed
sebastiansteffen opened this issue Oct 9, 2024 · 1 comment

Comments

@sebastiansteffen
Copy link

Hi,

I was trying to learn more about dynamic scraping with read_html_live. When I tried clicking the "Load More" button to scrape more reviews of a movie on Rotten Tomatoes I got the following error:

Error in onRejected(reason) : code: -32602
message: Invalid parameters
data: Failed to deserialize params.nodeId - BINDINGS: int32 value expected at position 15

I suspect it's related to #413 (which closed #405 )? Any workarounds at this point?
Thank you!

library(rvest)
url <- "https://www.rottentomatoes.com/m/spiderman/reviews"
session <- read_html_live(url)
session$view()
session$click("rt-button") # Gives an error.
@hadley
Copy link
Member

hadley commented Oct 21, 2024

Yeah, likely to be same problem as #405. I'll take a look when I'm next working on rvest.

@hadley hadley closed this as completed Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants