Skip to content

Could this work with Rselenium? #4

@vnijs

Description

@vnijs

listviewer is really cool! I thought this would be great fit for Rselenium because it creates some difficult to navigate lists. I tried it out but get a bunch of warnings (see below) but no listviewer. Any ideas?

library(RSelenium)
pJS <- phantom()
remDr <- remoteDriver(browserName = 'phantomjs')
remDr$open(silent = TRUE)
remDr$navigate("http://vnijs.rady.ucsd.edu:3838/marketing")
webElems <- remDr$findElements("css selector", "label")
jsonedit(webElems)
remDr$close()
pJS$stop() 

Warning messages:
1: In FUN(X[[28L]], ...) :
converting an R function to JSON as null. To change this, define a method for toJSON() for a 'function' object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions