@@ -125,7 +125,7 @@ LiveHTML <- R6::R6Class(
125125
126126
127127 # ' @description Simulate a click on an HTML element.
128- # ' @param css CSS selector or xpath expression .
128+ # ' @param css CSS selector.
129129 # ' @param n_clicks Number of clicks
130130 click = function (css , n_clicks = 1 ) {
131131 private $ check_active()
@@ -182,7 +182,7 @@ LiveHTML <- R6::R6Class(
182182 },
183183
184184 # ' @description Scroll selected element into view.
185- # ' @param css CSS selector or xpath expression .
185+ # ' @param css CSS selector.
186186 scroll_into_view = function (css ) {
187187 private $ check_active()
188188 node <- private $ wait_for_selector(css )
@@ -226,7 +226,7 @@ LiveHTML <- R6::R6Class(
226226 },
227227
228228 # ' @description Type text in the selected element
229- # ' @param css CSS selector or xpath expression .
229+ # ' @param css CSS selector.
230230 # ' @param text A single string containing the text to type.
231231 type = function (css , text ) {
232232 private $ check_active()
@@ -240,7 +240,7 @@ LiveHTML <- R6::R6Class(
240240 },
241241
242242 # ' @description Simulate pressing a single key (including special keys).
243- # ' @param css CSS selector or xpath expression. Set to `NULL`
243+ # ' @param css CSS selector.
244244 # ' @param key_code Name of key. You can see a complete list of known
245245 # ' keys at <https://pptr.dev/api/puppeteer.keyinput/>.
246246 # ' @param modifiers A character vector of modifiers. Must be one or more
0 commit comments