miroir de https://git.sr.ht/~hrbrmstr/splashr
boB Rudis
il y a 7 ans
12 fichiers modifiés avec 253 ajouts et 13 suppressions
Avant Largeur: | Hauteur: | Taille: 328 KiB Après Largeur: | Hauteur: | Taille: 328 KiB |
Après Largeur: | Hauteur: | Taille: 471 KiB |
@ -0,0 +1,16 @@ |
|||
% Generated by roxygen2: do not edit by hand |
|||
% Please edit documentation in R/dsl.r |
|||
\name{splash_click} |
|||
\alias{splash_click} |
|||
\title{Trigger mouse click event in web page.} |
|||
\usage{ |
|||
splash_click(splash_obj, x, y) |
|||
} |
|||
\arguments{ |
|||
\item{splash_obj}{splashr object} |
|||
|
|||
\item{x, y}{coordinates (distances from the left or top, relative to the current viewport)} |
|||
} |
|||
\description{ |
|||
Trigger mouse click event in web page. |
|||
} |
@ -0,0 +1,19 @@ |
|||
% Generated by roxygen2: do not edit by hand |
|||
% Please edit documentation in R/dsl.r |
|||
\name{splash_focus} |
|||
\alias{splash_focus} |
|||
\title{Focus on a document element provided by a CSS selector} |
|||
\usage{ |
|||
splash_focus(splash_obj, selector) |
|||
} |
|||
\arguments{ |
|||
\item{splash_obj}{splashr object} |
|||
|
|||
\item{selector}{valid CSS selector} |
|||
} |
|||
\description{ |
|||
Focus on a document element provided by a CSS selector |
|||
} |
|||
\references{ |
|||
See \href{https://splash.readthedocs.io/en/stable/scripting-ref.html#splash-send-text}{the docs} for more info |
|||
} |
@ -0,0 +1,16 @@ |
|||
% Generated by roxygen2: do not edit by hand |
|||
% Please edit documentation in R/dsl.r |
|||
\name{splash_press} |
|||
\alias{splash_press} |
|||
\title{Trigger mouse press event in web page.} |
|||
\usage{ |
|||
splash_press(splash_obj, x, y) |
|||
} |
|||
\arguments{ |
|||
\item{splash_obj}{splashr object} |
|||
|
|||
\item{x, y}{coordinates (distances from the left or top, relative to the current viewport)} |
|||
} |
|||
\description{ |
|||
Trigger mouse press event in web page. |
|||
} |
@ -0,0 +1,16 @@ |
|||
% Generated by roxygen2: do not edit by hand |
|||
% Please edit documentation in R/dsl.r |
|||
\name{splash_release} |
|||
\alias{splash_release} |
|||
\title{Trigger mouse release event in web page.} |
|||
\usage{ |
|||
splash_release(splash_obj, x, y) |
|||
} |
|||
\arguments{ |
|||
\item{splash_obj}{splashr object} |
|||
|
|||
\item{x, y}{coordinates (distances from the left or top, relative to the current viewport)} |
|||
} |
|||
\description{ |
|||
Trigger mouse release event in web page. |
|||
} |
@ -0,0 +1,25 @@ |
|||
% Generated by roxygen2: do not edit by hand |
|||
% Please edit documentation in R/dsl.r |
|||
\name{splash_send_keys} |
|||
\alias{splash_send_keys} |
|||
\title{Send keyboard events to page context.} |
|||
\usage{ |
|||
splash_send_keys(splash_obj, keys) |
|||
} |
|||
\arguments{ |
|||
\item{splash_obj}{splashr object} |
|||
|
|||
\item{keys}{string to send} |
|||
} |
|||
\description{ |
|||
\itemize{ |
|||
\item whitespace is ignored and only used to separate the different keys |
|||
\item characters are literally represented |
|||
} |
|||
} |
|||
\details{ |
|||
This is different from \link{splash_send_text} |
|||
} |
|||
\references{ |
|||
See \href{https://splash.readthedocs.io/en/stable/scripting-ref.html#splash-send-keys}{the docs} for more info |
|||
} |
@ -0,0 +1,22 @@ |
|||
% Generated by roxygen2: do not edit by hand |
|||
% Please edit documentation in R/dsl.r |
|||
\name{splash_send_text} |
|||
\alias{splash_send_text} |
|||
\title{Send text as input to page context, literally, character by character.} |
|||
\usage{ |
|||
splash_send_text(splash_obj, text) |
|||
} |
|||
\arguments{ |
|||
\item{splash_obj}{splashr object} |
|||
|
|||
\item{text}{string to send} |
|||
} |
|||
\description{ |
|||
This is different from \link{splash_send_keys} |
|||
} |
|||
\note{ |
|||
This adds a call to \code{splash:wait} so you do not have to |
|||
} |
|||
\references{ |
|||
See \href{https://splash.readthedocs.io/en/stable/scripting-ref.html#splash-send-keys}{the docs} for more info |
|||
} |
Chargement…
Référencer dans un nouveau ticket