How to read the options passed by Selenium to Firefox using WebExtensions

余生颓废 提交于 2019-12-11 15:59:37

问题


I'm starting Firefox 66 from Ruby via Selenium, this way:

profile = Selenium::WebDriver::Firefox::Profile.new
profile['foo.test'] = 123
Selenium::WebDriver::Firefox::Options.new(profile: profile)
Selenium::WebDriver.for(:firefox)

How can I get access to the foo.test in my add-on, through WebExtension API?

来源:https://stackoverflow.com/questions/57206940/how-to-read-the-options-passed-by-selenium-to-firefox-using-webextensions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!