diff --git a/airgun/browser.py b/airgun/browser.py index e80aa1175..5b39ae5ec 100644 --- a/airgun/browser.py +++ b/airgun/browser.py @@ -170,6 +170,10 @@ def _get_remote_browser(self): Note: should not be called directly, use :meth:`get_browser` instead. """ + if self.test_name: + self.web_kaifuku.webdriver_options.desired_capabilities.update( + {'se:test_name': self.test_name} + ) manager = BrowserManager.from_conf(self.web_kaifuku) self._webdriver = manager.start() self._set_session_cookie()