How to change color using Rselenium?

I would like to change the color (foreground and background) using Rselenium!!!!1

library(RSelenium)
rD <- RSelenium::rsDriver(browser = "firefox", check = FALSE)
remDr <- rD[["client"]]
remDr$navigate("https://www.qrcode-monkey.com/")
remDr$findElement("id", "qrcodeUrl")$clearElement()
remDr$findElement("id", "qrcodeUrl")$sendKeysToElement(list("https://www.google.com/"))
remDr$findElement("css", ".pane:nth-child(2) .title")$clickElement()
# Foreground Color
webElem <- remDr$findElement("css",
                                 ".col-lg-4.form-group .input-group-addon")
webElem$clickElement()

image

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.