diff --git a/DESCRIPTION b/DESCRIPTION
index 20dce02..6caa589 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -49,5 +49,5 @@ Suggests:
rmarkdown
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
-RoxygenNote: 7.1.2
+RoxygenNote: 7.3.1
SystemRequirements: PhantomJS (http://phantomjs.org/)
diff --git a/man/ShinyDriver.Rd b/man/ShinyDriver.Rd
index 854fba7..0775f6c 100644
--- a/man/ShinyDriver.Rd
+++ b/man/ShinyDriver.Rd
@@ -12,55 +12,55 @@ with a live app.
\section{Methods}{
\subsection{Public methods}{
\itemize{
-\item \href{#method-new}{\code{ShinyDriver$new()}}
-\item \href{#method-finalize}{\code{ShinyDriver$finalize()}}
-\item \href{#method-stop}{\code{ShinyDriver$stop()}}
-\item \href{#method-getValue}{\code{ShinyDriver$getValue()}}
-\item \href{#method-setValue}{\code{ShinyDriver$setValue()}}
-\item \href{#method-click}{\code{ShinyDriver$click()}}
-\item \href{#method-getAllValues}{\code{ShinyDriver$getAllValues()}}
-\item \href{#method-sendKeys}{\code{ShinyDriver$sendKeys()}}
-\item \href{#method-setWindowSize}{\code{ShinyDriver$setWindowSize()}}
-\item \href{#method-getWindowSize}{\code{ShinyDriver$getWindowSize()}}
-\item \href{#method-getDebugLog}{\code{ShinyDriver$getDebugLog()}}
-\item \href{#method-enableDebugLogMessages}{\code{ShinyDriver$enableDebugLogMessages()}}
-\item \href{#method-logEvent}{\code{ShinyDriver$logEvent()}}
-\item \href{#method-getEventLog}{\code{ShinyDriver$getEventLog()}}
-\item \href{#method-getUrl}{\code{ShinyDriver$getUrl()}}
-\item \href{#method-getTitle}{\code{ShinyDriver$getTitle()}}
-\item \href{#method-getSource}{\code{ShinyDriver$getSource()}}
-\item \href{#method-goBack}{\code{ShinyDriver$goBack()}}
-\item \href{#method-refresh}{\code{ShinyDriver$refresh()}}
-\item \href{#method-takeScreenshot}{\code{ShinyDriver$takeScreenshot()}}
-\item \href{#method-findElement}{\code{ShinyDriver$findElement()}}
-\item \href{#method-findElements}{\code{ShinyDriver$findElements()}}
-\item \href{#method-waitFor}{\code{ShinyDriver$waitFor()}}
-\item \href{#method-waitForShiny}{\code{ShinyDriver$waitForShiny()}}
-\item \href{#method-waitForValue}{\code{ShinyDriver$waitForValue()}}
-\item \href{#method-listWidgets}{\code{ShinyDriver$listWidgets()}}
-\item \href{#method-checkUniqueWidgetNames}{\code{ShinyDriver$checkUniqueWidgetNames()}}
-\item \href{#method-executeScript}{\code{ShinyDriver$executeScript()}}
-\item \href{#method-executeScriptAsync}{\code{ShinyDriver$executeScriptAsync()}}
-\item \href{#method-findWidget}{\code{ShinyDriver$findWidget()}}
-\item \href{#method-expectUpdate}{\code{ShinyDriver$expectUpdate()}}
-\item \href{#method-setInputs}{\code{ShinyDriver$setInputs()}}
-\item \href{#method-uploadFile}{\code{ShinyDriver$uploadFile()}}
-\item \href{#method-snapshotInit}{\code{ShinyDriver$snapshotInit()}}
-\item \href{#method-snapshot}{\code{ShinyDriver$snapshot()}}
-\item \href{#method-snapshotCompare}{\code{ShinyDriver$snapshotCompare()}}
-\item \href{#method-snapshotDownload}{\code{ShinyDriver$snapshotDownload()}}
-\item \href{#method-getAppDir}{\code{ShinyDriver$getAppDir()}}
-\item \href{#method-getAppFilename}{\code{ShinyDriver$getAppFilename()}}
-\item \href{#method-getTestsDir}{\code{ShinyDriver$getTestsDir()}}
-\item \href{#method-getRelativePathToApp}{\code{ShinyDriver$getRelativePathToApp()}}
-\item \href{#method-getSnapshotDir}{\code{ShinyDriver$getSnapshotDir()}}
-\item \href{#method-isRmd}{\code{ShinyDriver$isRmd()}}
-\item \href{#method-clone}{\code{ShinyDriver$clone()}}
-}
-}
-\if{html}{\out{
}}\preformatted{ShinyDriver$new(
@@ -113,8 +113,8 @@ process.}
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-finalize}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-finalize}{}}}
\subsection{Method \code{finalize()}}{
Stop app and clean up logs.
\subsection{Usage}{
@@ -123,8 +123,8 @@ Stop app and clean up logs.
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-stop}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-stop}{}}}
\subsection{Method \code{stop()}}{
Stop the app, the terminate external R process that runs the app and
the phantomjs instance.
@@ -134,8 +134,8 @@ the phantomjs instance.
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-getValue}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-getValue}{}}}
\subsection{Method \code{getValue()}}{
Finds a widget and queries its value. See the \code{getValue()} method of
\link{Widget} for more details.
@@ -156,8 +156,8 @@ input and output widget.}
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-setValue}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-setValue}{}}}
\subsection{Method \code{setValue()}}{
Finds a widget and sets its value. It's a shortcut for \code{findElement()}
plus \code{setValue()}; see the \link{Widget} documentation for more details.
@@ -183,8 +183,8 @@ Self, invisibly.
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-click}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-click}{}}}
\subsection{Method \code{click()}}{
Find a widget and click it. It's a shortcut for \code{findElement()}
plus \code{click()}; see the \link{Widget} documentation for more details.
@@ -205,8 +205,8 @@ input and output widget.}
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-getAllValues}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-getAllValues}{}}}
\subsection{Method \code{getAllValues()}}{
Returns a named list of all inputs, outputs, and export values.
\subsection{Usage}{
@@ -224,8 +224,8 @@ controls.}
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-sendKeys}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-sendKeys}{}}}
\subsection{Method \code{sendKeys()}}{
Sends the specified keys to specific HTML element. Shortcut for
\code{findWidget()} plus \code{sendKeys()}.
@@ -248,8 +248,8 @@ Self, invisibly.
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-setWindowSize}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-setWindowSize}{}}}
\subsection{Method \code{setWindowSize()}}{
Sets size of the browser window.
\subsection{Usage}{
@@ -268,8 +268,8 @@ Self, invisibly.
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-getWindowSize}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-getWindowSize}{}}}
\subsection{Method \code{getWindowSize()}}{
Get current size of the browser window, as list of integer scalars
named \code{width} and \code{height}.
@@ -279,8 +279,8 @@ named \code{width} and \code{height}.
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-getDebugLog}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-getDebugLog}{}}}
\subsection{Method \code{getDebugLog()}}{
Query one or more of the debug logs.
\subsection{Usage}{
@@ -297,8 +297,8 @@ or \code{"shinytest"}.}
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-enableDebugLogMessages}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-enableDebugLogMessages}{}}}
\subsection{Method \code{enableDebugLogMessages()}}{
Enable/disable debugging messages
\subsection{Usage}{
@@ -314,8 +314,8 @@ Enable/disable debugging messages
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-logEvent}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-logEvent}{}}}
\subsection{Method \code{logEvent()}}{
Add event to log.
\subsection{Usage}{
@@ -333,8 +333,8 @@ Add event to log.
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-getEventLog}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-getEventLog}{}}}
\subsection{Method \code{getEventLog()}}{
Retrieve event log.
\subsection{Usage}{
@@ -343,8 +343,8 @@ Retrieve event log.
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-getUrl}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-getUrl}{}}}
\subsection{Method \code{getUrl()}}{
Get current url
\subsection{Usage}{
@@ -353,8 +353,8 @@ Get current url
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-getTitle}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-getTitle}{}}}
\subsection{Method \code{getTitle()}}{
Get page title
\subsection{Usage}{
@@ -363,8 +363,8 @@ Get page title
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-getSource}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-getSource}{}}}
\subsection{Method \code{getSource()}}{
Get complete source of current page.
\subsection{Usage}{
@@ -373,8 +373,8 @@ Get complete source of current page.
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-goBack}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-goBack}{}}}
\subsection{Method \code{goBack()}}{
Return to previous page
\subsection{Usage}{
@@ -386,8 +386,8 @@ Self, invisibly.
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-refresh}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-refresh}{}}}
\subsection{Method \code{refresh()}}{
Refresh the browser
\subsection{Usage}{
@@ -399,8 +399,8 @@ Self, invisibly.
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-takeScreenshot}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-takeScreenshot}{}}}
\subsection{Method \code{takeScreenshot()}}{
Takes a screenshot of the current page and writes it to a PNG file or
shows on current graphics device.
@@ -427,8 +427,8 @@ Self, invisibly.
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-findElement}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-findElement}{}}}
\subsection{Method \code{findElement()}}{
Find an HTML element on the page, using a CSS selector, XPath expression,
or link text (for \verb{
} tags). If multiple elements are matched, only
@@ -460,8 +460,8 @@ A \link[webdriver:Element]{webdriver::Element}.
}
}
\if{html}{\out{
}}
-\if{html}{\out{}}
-\if{latex}{\out{\hypertarget{method-findElements}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-findElements}{}}}
\subsection{Method \code{findElements()}}{
Find all elements matching CSS selection, xpath, or link text.
\subsection{Usage}{
@@ -491,8 +491,8 @@ A list of \link[webdriver:Element]{webdriver::Element}s.
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-waitFor}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-waitFor}{}}}
\subsection{Method \code{waitFor()}}{
Waits until a JavaScript \code{expr}ession evaluates to \code{true} or the
\code{timeout} is exceeded.
@@ -518,8 +518,8 @@ timeout. Otherwise returns \code{NA}.
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-waitForShiny}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-waitForShiny}{}}}
\subsection{Method \code{waitForShiny()}}{
Waits until Shiny is not busy, i.e. the reactive graph has finished
updating. This is useful, for example, if you've resized the window with
@@ -534,8 +534,8 @@ before take a screenshot.
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-waitForValue}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-waitForValue}{}}}
\subsection{Method \code{waitForValue()}}{
Waits until the \code{input} or \code{output} with name \code{name} is not one of
\code{ignore}d values, or the timeout is reached.
@@ -572,8 +572,8 @@ input and output widget.}
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-listWidgets}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-listWidgets}{}}}
\subsection{Method \code{listWidgets()}}{
Lists the names of all input and output widgets
\subsection{Usage}{
@@ -585,8 +585,8 @@ A list of two character vectors, named \code{input} and \code{output}.
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-checkUniqueWidgetNames}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-checkUniqueWidgetNames}{}}}
\subsection{Method \code{checkUniqueWidgetNames()}}{
Check if Shiny widget names are unique.
\subsection{Usage}{
@@ -595,8 +595,8 @@ Check if Shiny widget names are unique.
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-executeScript}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-executeScript}{}}}
\subsection{Method \code{executeScript()}}{
Execute JS code
\subsection{Usage}{
@@ -617,8 +617,8 @@ Self, invisibly.
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-executeScriptAsync}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-executeScriptAsync}{}}}
\subsection{Method \code{executeScriptAsync()}}{
Execute JS code asynchronously.
\subsection{Usage}{
@@ -639,8 +639,8 @@ Self, invisibly.
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-findWidget}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-findWidget}{}}}
\subsection{Method \code{findWidget()}}{
Finds the a Shiny input or output control.
\subsection{Usage}{
@@ -663,8 +663,8 @@ A \link{Widget}.
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-expectUpdate}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-expectUpdate}{}}}
\subsection{Method \code{expectUpdate()}}{
It performs one or more update operations via the browser, thens
waits for the specified output(s) to update. The test succeeds if
@@ -696,8 +696,8 @@ input and output widget.}
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-setInputs}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-setInputs}{}}}
\subsection{Method \code{setInputs()}}{
Sets input values.
\subsection{Usage}{
@@ -737,8 +737,8 @@ Returns updated values, invisibly.
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-uploadFile}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-uploadFile}{}}}
\subsection{Method \code{uploadFile()}}{
Uploads a file to a file input.
\subsection{Usage}{
@@ -762,8 +762,8 @@ control.}
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-snapshotInit}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-snapshotInit}{}}}
\subsection{Method \code{snapshotInit()}}{
Download a snapshot. Generally, you should not call this function
yourself; it will be generated by \code{\link[=recordTest]{recordTest()}} as needed.
@@ -782,8 +782,8 @@ yourself; it will be generated by \code{\link[=recordTest]{recordTest()}} as nee
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-snapshot}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-snapshot}{}}}
\subsection{Method \code{snapshot()}}{
Take a snapshot. Generally, you should not call this function
yourself; it will be generated by \code{\link[=recordTest]{recordTest()}} as needed.
@@ -806,8 +806,8 @@ file extension.}
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-snapshotCompare}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-snapshotCompare}{}}}
\subsection{Method \code{snapshotCompare()}}{
Deprecated
\subsection{Usage}{
@@ -823,8 +823,8 @@ Deprecated
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-snapshotDownload}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-snapshotDownload}{}}}
\subsection{Method \code{snapshotDownload()}}{
Snapshot a file download action. Generally, you should not call this
function yourself; it will be generated by \code{\link[=recordTest]{recordTest()}} as needed.
@@ -845,8 +845,8 @@ generates an ascending sequence of names: \verb{001.download},
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-getAppDir}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-getAppDir}{}}}
\subsection{Method \code{getAppDir()}}{
Directory where app is located
\subsection{Usage}{
@@ -855,8 +855,8 @@ Directory where app is located
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-getAppFilename}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-getAppFilename}{}}}
\subsection{Method \code{getAppFilename()}}{
App file name, i.e. \code{app.R} or \code{server.R}. \code{NULL} for Rmds.
\subsection{Usage}{
@@ -865,8 +865,8 @@ App file name, i.e. \code{app.R} or \code{server.R}. \code{NULL} for Rmds.
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-getTestsDir}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-getTestsDir}{}}}
\subsection{Method \code{getTestsDir()}}{
Directory where tests are located
\subsection{Usage}{
@@ -875,8 +875,8 @@ Directory where tests are located
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-getRelativePathToApp}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-getRelativePathToApp}{}}}
\subsection{Method \code{getRelativePathToApp()}}{
Relative path to app from current directory.
\subsection{Usage}{
@@ -885,8 +885,8 @@ Relative path to app from current directory.
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-getSnapshotDir}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-getSnapshotDir}{}}}
\subsection{Method \code{getSnapshotDir()}}{
Directory where snapshots are located.
\subsection{Usage}{
@@ -895,8 +895,8 @@ Directory where snapshots are located.
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-isRmd}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-isRmd}{}}}
\subsection{Method \code{isRmd()}}{
Is this app an Shiny Rmd document?
\subsection{Usage}{
@@ -905,8 +905,8 @@ Is this app an Shiny Rmd document?
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-clone}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-ShinyDriver-clone}{}}}
\subsection{Method \code{clone()}}{
The objects of this class are cloneable with this method.
\subsection{Usage}{
diff --git a/man/Widget.Rd b/man/Widget.Rd
index 64ff3d7..ac4c540 100644
--- a/man/Widget.Rd
+++ b/man/Widget.Rd
@@ -10,26 +10,26 @@ methods for finer grained interaction.
\section{Methods}{
\subsection{Public methods}{
\itemize{
-\item \href{#method-new}{\code{Widget$new()}}
-\item \href{#method-getName}{\code{Widget$getName()}}
-\item \href{#method-getElement}{\code{Widget$getElement()}}
-\item \href{#method-getHtml}{\code{Widget$getHtml()}}
-\item \href{#method-getType}{\code{Widget$getType()}}
-\item \href{#method-getIoType}{\code{Widget$getIoType()}}
-\item \href{#method-isInput}{\code{Widget$isInput()}}
-\item \href{#method-isOutput}{\code{Widget$isOutput()}}
-\item \href{#method-getValue}{\code{Widget$getValue()}}
-\item \href{#method-setValue}{\code{Widget$setValue()}}
-\item \href{#method-click}{\code{Widget$click()}}
-\item \href{#method-sendKeys}{\code{Widget$sendKeys()}}
-\item \href{#method-listTabs}{\code{Widget$listTabs()}}
-\item \href{#method-uploadFile}{\code{Widget$uploadFile()}}
-\item \href{#method-clone}{\code{Widget$clone()}}
+\item \href{#method-Widget-new}{\code{Widget$new()}}
+\item \href{#method-Widget-getName}{\code{Widget$getName()}}
+\item \href{#method-Widget-getElement}{\code{Widget$getElement()}}
+\item \href{#method-Widget-getHtml}{\code{Widget$getHtml()}}
+\item \href{#method-Widget-getType}{\code{Widget$getType()}}
+\item \href{#method-Widget-getIoType}{\code{Widget$getIoType()}}
+\item \href{#method-Widget-isInput}{\code{Widget$isInput()}}
+\item \href{#method-Widget-isOutput}{\code{Widget$isOutput()}}
+\item \href{#method-Widget-getValue}{\code{Widget$getValue()}}
+\item \href{#method-Widget-setValue}{\code{Widget$setValue()}}
+\item \href{#method-Widget-click}{\code{Widget$click()}}
+\item \href{#method-Widget-sendKeys}{\code{Widget$sendKeys()}}
+\item \href{#method-Widget-listTabs}{\code{Widget$listTabs()}}
+\item \href{#method-Widget-uploadFile}{\code{Widget$uploadFile()}}
+\item \href{#method-Widget-clone}{\code{Widget$clone()}}
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-new}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-Widget-new}{}}}
\subsection{Method \code{new()}}{
Create new \code{Widget}
\subsection{Usage}{
@@ -51,8 +51,8 @@ Create new \code{Widget}
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-getName}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-Widget-getName}{}}}
\subsection{Method \code{getName()}}{
Control id (i.e. \code{inputId} or \code{outputId} that control
was created with).
@@ -62,8 +62,8 @@ was created with).
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-getElement}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-Widget-getElement}{}}}
\subsection{Method \code{getElement()}}{
Underlying \code{\link[webdriver:Element]{webdriver::Element()}} object.
\subsection{Usage}{
@@ -72,8 +72,8 @@ Underlying \code{\link[webdriver:Element]{webdriver::Element()}} object.
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-getHtml}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-Widget-getHtml}{}}}
\subsection{Method \code{getHtml()}}{
retrieve the underlying HTML for a widget
\subsection{Usage}{
@@ -82,8 +82,8 @@ retrieve the underlying HTML for a widget
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-getType}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-Widget-getType}{}}}
\subsection{Method \code{getType()}}{
Widget type, e.g. \code{textInput}, \code{selectInput}.
\subsection{Usage}{
@@ -92,8 +92,8 @@ Widget type, e.g. \code{textInput}, \code{selectInput}.
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-getIoType}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-Widget-getIoType}{}}}
\subsection{Method \code{getIoType()}}{
Is this an input or output control?
\subsection{Usage}{
@@ -102,8 +102,8 @@ Is this an input or output control?
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-isInput}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-Widget-isInput}{}}}
\subsection{Method \code{isInput()}}{
Is this an input control?
\subsection{Usage}{
@@ -112,8 +112,8 @@ Is this an input control?
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-isOutput}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-Widget-isOutput}{}}}
\subsection{Method \code{isOutput()}}{
Is this an output control?
\subsection{Usage}{
@@ -122,8 +122,8 @@ Is this an output control?
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-getValue}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-Widget-getValue}{}}}
\subsection{Method \code{getValue()}}{
Get current value of control.
\subsection{Usage}{
@@ -132,8 +132,8 @@ Get current value of control.
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-setValue}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-Widget-setValue}{}}}
\subsection{Method \code{setValue()}}{
Set value of control.
\subsection{Usage}{
@@ -149,8 +149,8 @@ Set value of control.
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-click}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-Widget-click}{}}}
\subsection{Method \code{click()}}{
scrolls the element into view, then clicks the in-view
centre point of it.
@@ -163,8 +163,8 @@ self, invisibly.
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-sendKeys}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-Widget-sendKeys}{}}}
\subsection{Method \code{sendKeys()}}{
Send specified key presses to control.
\subsection{Usage}{
@@ -181,8 +181,8 @@ for how to specific special keys.}
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-listTabs}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-Widget-listTabs}{}}}
\subsection{Method \code{listTabs()}}{
Lists the tab names of a \code{\link[shiny:tabsetPanel]{shiny::tabsetPanel()}}.
It fails for other types of widgets.
@@ -192,8 +192,8 @@ It fails for other types of widgets.
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-uploadFile}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-Widget-uploadFile}{}}}
\subsection{Method \code{uploadFile()}}{
Upload a file to a \code{\link[shiny:fileInput]{shiny::fileInput()}}.
It fails for other types of widgets.
@@ -210,8 +210,8 @@ It fails for other types of widgets.
}
}
\if{html}{\out{
}}
-\if{html}{\out{
}}
-\if{latex}{\out{\hypertarget{method-clone}{}}}
+\if{html}{\out{
}}
+\if{latex}{\out{\hypertarget{method-Widget-clone}{}}}
\subsection{Method \code{clone()}}{
The objects of this class are cloneable with this method.
\subsection{Usage}{
diff --git a/man/migrateShinytestDir.Rd b/man/migrateShinytestDir.Rd
index ffe7e96..d9d1df2 100644
--- a/man/migrateShinytestDir.Rd
+++ b/man/migrateShinytestDir.Rd
@@ -25,16 +25,20 @@ the tests are put in \verb{tests/shinytest/}, so that it works with the
With \pkg{shinytest} 1.3.1 and below, the tests/ subdirectory of the
application was used specifically for \pkg{shinytest}, and could not be used
-for other types of tests. So the directory structure would look like this:\preformatted{appdir/
+for other types of tests. So the directory structure would look like this:
+
+\if{html}{\out{
}}\preformatted{appdir/
`- tests
`- mytest.R
-}
+}\if{html}{\out{
}}
In Shiny 1.5.0, the \code{shiny::runTests()} function was added, and it will run
test scripts tests/ subdirectory of the application. This makes it possible
to use other testing systems in addition to shinytest. \pkg{shinytest} 1.4.0
is designed to work with this new directory structure. The directory
-structure looks something like this:\preformatted{appdir/
+structure looks something like this:
+
+\if{html}{\out{
}}\preformatted{appdir/
|- R
|- tests
|- shinytest.R
@@ -43,7 +47,7 @@ structure looks something like this:\preformatted{appdir/
|- testthat.R
`- testthat
`- test-script.R
-}
+}\if{html}{\out{
}}
This allows for tests using the \pkg{shinytest} package as well as other
testing tools, such as the \code{shiny::testServer()} function, which can be used
diff --git a/man/shinytest-package.Rd b/man/shinytest-package.Rd
index 4a343f0..d291874 100644
--- a/man/shinytest-package.Rd
+++ b/man/shinytest-package.Rd
@@ -6,7 +6,7 @@
\alias{shinytest-package}
\title{shinytest: Test Shiny Apps}
\description{
-For automated testing of Shiny applications, using a headless browser, driven through 'WebDriver'.
+Please see the shinytest to shinytest2 migration guide at https://rstudio.github.io/shinytest2/articles/z-migration.html
}
\seealso{
Useful links:
@@ -17,18 +17,18 @@ Useful links:
}
\author{
-\strong{Maintainer}: Winston Chang \email{winston@rstudio.com}
+\strong{Maintainer}: Winston Chang \email{winston@posit.co}
Authors:
\itemize{
- \item Gábor Csárdi \email{gabor@rstudio.com}
- \item Hadley Wickham \email{hadley@rstudio.com}
+ \item Gábor Csárdi \email{gabor@posit.co}
+ \item Hadley Wickham \email{hadley@posit.co}
}
Other contributors:
\itemize{
- \item RStudio [copyright holder, funder]
- \item Mango Solutions [copyright holder, conceptor]
+ \item Posit Software, PBC [copyright holder, funder]
+ \item Ascent Digital Services [copyright holder, conceptor]
}
}