Sets the proxy configuration for use with Selenium

sel_proxy(proxy, eCaps = NULL, browser = c("firefox", "chrome"),
  bmpIPaddress = NULL)

Arguments

proxy
An object of class "proxy". A proxy object see proxy.
eCaps
A list of existing extra capabilities.
browser
The browser type to set the config for. Can use firefox or chrome. The default is firefox. If left NULL firefox default is used.
bmpIPaddress
Stipulate an alternative BMP ip address. The Selenium server may for example be running in a docker container as may the BMP server. Defaults to NULL and the ip address implied by proxy is used

Value

Returns an extra capabilities list that can be passed to Selenium

Examples

## Not run: ------------------------------------ # prxy <- proxy(bmpPort = 9090L, port = 39500L) # eCap <- sel_proxy(prxy, browser = "chrome") ## ---------------------------------------------