Skip to content

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

@sebastiansteffen

Description

@sebastiansteffen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions