Is it possible to open a Selenium Remote Webdriver with a specific remote profile (not temporary) in the server?
I have only been able to pass a browser_profile
from the client. If I instantiate the class without browser_profile
Selenium creates a new temporary profile in the server.
from selenium import webdriver
class Remote(webdriver.Remote):
def __init__(self, **kwargs):
capabilities = {_**whatever_}
super().__init__(
command_executor='http://HOST:PORT/wd/hub',
desired_capabilities=capabilities.copy(),
browser_profile=webdriver.FirefoxProfile(_what?_)
)