This tools extends \href{https://www.npmjs.com/package/selenium-webdriver}{\texttt{ Selenium\textquotesingle{}s javascript implementation}} of the Web\+Driver API to include additional commands (e.\+g. commands required for \href{https://github.com/appium/appium}{\texttt{ appium}}).

You can view the full list of commands in \href{lib/index.ts\#L8}{\texttt{ {\ttfamily lib/index.\+ts}}}.\hypertarget{md_sfcode_node_modules_webdriver_js_extender_README_autotoc_md32167}{}\doxysection{Usage}\label{md_sfcode_node_modules_webdriver_js_extender_README_autotoc_md32167}
Use Web\+Driver JS Extender\textquotesingle{}s {\ttfamily extend} function on your webdriver instance\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{var extendedWebdriver = require('webdriver-\/js-\/extender').extend(webdriver);}
\DoxyCodeLine{}
\DoxyCodeLine{extendedWebdriver.setNetworkConnection(5); }

\end{DoxyCode}
 