https://bugzilla.wikimedia.org/show_bug.cgi?id=62512
Bug ID: 62512 Summary: update mediawik_selenium gem to honor optional useragent string per MobileFrontend Product: Wikimedia Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: Quality Assurance Assignee: wikibugs-l@lists.wikimedia.org Reporter: cmcma...@wikimedia.org CC: cmcma...@wikimedia.org, zfili...@wikimedia.org Web browser: --- Mobile Platform: --- In the MobileFrontend repo there is a test no_"javascript_site.feature" That test uses this step in common_steps.rb: Given /^I am using user agent "(.+)"$/ do |user_agent| @user_agent = user_agent @browser = browser(environment, test_name(@scenario), user_agent) @browser.window.resize_to(480, 800) $session_id = @browser.driver.instance_variable_get(:@bridge).session_id end None of this works since browser creation has moved to shared code. We should make it possible to have Firefox honor spoofing a user agent string. (Note: no browser other than Firefox will spoof a user agent.) -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l