Additional Edge fingerprinting fixes. Bumped min XP FF ver.

This commit is contained in:
Jack Walker
2020-04-27 10:39:30 +10:00
parent 847cba488b
commit d643388710
4 changed files with 11 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ env:
# - CONFIG_FILE=windows/xp/xp_chrome_14.config.yml
# - CONFIG_FILE=windows/xp/xp_chrome_28.config.yml
# - CONFIG_FILE=windows/xp/xp_chrome_43.config.yml
- CONFIG_FILE=windows/xp/xp_firefox_12.config.yml
- CONFIG_FILE=windows/xp/xp_firefox_13.config.yml
# - CONFIG_FILE=windows/xp/xp_firefox_25.config.yml
# - CONFIG_FILE=windows/xp/xp_firefox_47.config.yml
# - CONFIG_FILE=windows/xp/xp_ie_7.config.yml

View File

@@ -29,7 +29,7 @@ module Constants
FRIENDLY_FF_NAME = 'Firefox'
FRIENDLY_M_NAME = 'Mozilla'
FRIENDLY_IE_NAME = 'Internet Explorer'
FRIENDLY_E_NAME = 'Microsoft Edge'
FRIENDLY_E_NAME = 'MSEdge'
FRIENDLY_S_NAME = 'Safari'
FRIENDLY_EP_NAME = 'Epiphany'
FRIENDLY_K_NAME = 'Konqueror'

View File

@@ -113,6 +113,12 @@ RSpec.describe 'Browser Details Handler', :run_on_browserstack => true do
response = RestClient.get "#{RESTAPI_HOOKS}/#{@session}?token=#{@token}"
details = JSON.parse(response.body)
expect(@driver.browser.to_s.downcase).to eq(details['browser.name.friendly'].downcase).or eq('internet_explorer')
if details['browser.name.friendly'].downcase == 'internet explorer'
browser_name = 'internet_explorer'
else
browser_name = details['browser.name.friendly'].downcase
end
expect(@driver.browser.to_s.downcase).to eq(browser_name)
end
end

View File

@@ -1,7 +1,7 @@
server: "hub-cloud.browserstack.com"
common_caps:
"build": "Windows XP Firefox 12"
"build": "Windows XP Firefox 13"
"project": "BeEF"
"browserstack.local": true
"browserstack.video": false
@@ -9,6 +9,6 @@ common_caps:
browser_caps:
-
"browser": "firefox"
"browser_version": "12.0"
"browser_version": "13.0"
"os": "windows"
"os_version": "xp"