CapabilityType.PLATFORM values

Confirmed Issue #12142536 • Assigned to Arindam B.

Details

Author
Anda C.
Created
May 26, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
14.14393
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

I set

System.setProperty("webdriver.edge.driver",
            "D:\\Documentatie\\Selenium\\MicrosoftWebDriver.exe");
    DesiredCapabilities capabilities = DesiredCapabilities.edge();
    capabilities.setCapability(CapabilityType.SUPPORTS_APPLICATION_CACHE,
            true);
    capabilities.setCapability(CapabilityType.PLATFORM,
            "WINDOWS");
    
    capabilities.setCapability(CapabilityType.SUPPORTS_FINDING_BY_CSS,
            true);
    
    capabilities.setCapability(CapabilityType.BROWSER_NAME,
            "Edge");

    LoggingPreferences logPrefs = new LoggingPreferences();
    logPrefs.enable(LogType.BROWSER, Level.ALL);
    logPrefs.enable(LogType.CLIENT, Level.ALL);
    logPrefs.enable(LogType.DRIVER, Level.ALL);
    logPrefs.enable(LogType.SERVER, Level.ALL);
    logPrefs.enable(LogType.PERFORMANCE, Level.ALL);
    capabilities.setCapability(CapabilityType.LOGGING_PREFS, logPrefs);

    driver = new EdgeDriver(capabilities);
    driver.manage().window().maximize();

But in my log at console:

Build info: version: '3.4.0’, revision: 'unknown’, time: ‘unknown’
System info: host: 'TERMINATOR’, ip: '192.168.1.109’, os.name: 'Windows 10’, os.arch: 'amd64’, os.version: '10.0’, java.version: ‘1.8.0_131’
Driver info: org.openqa.selenium.edge.EdgeDriver
Capabilities [{applicationCacheEnabled=true, pageLoadStrategy=normal, platform=ANY, acceptSslCerts=true, browserVersion=38.14393.1066.0, platformVersion=10, locationContextEnabled=true, webStorageEnabled=true, browserName=MicrosoftEdge, takesScreenshot=true, takesElementScreenshot=true, javascriptEnabled=true, platformName=windows}]
Session ID: 94FC050F-5712-4DF1-AB07-7BDBB566AB79
*** Element info: {Using=id, value=login-username}

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Arindam B.”

    • The same thing for :
      capabilities.setCapability(CapabilityType.PAGE_LOAD_STRATEGY,
      “eager”);

      but in my console: pageLoadStrategy=normal

    • Microsoft Edge Team

      Changed Status to “Confirmed”

    You need to sign in to your Microsoft account to add a comment.

    Sign in