with protractor how to setup internet explorer configuration?

前端 未结 5 1647
执念已碎
执念已碎 2021-01-04 13:36

I am using protractor 1.3.1 and running iedriverserver.exe 2.43.0.0 with IE11 installed (windows). This is my spec:

describe(\'quick test IE driver\', functi         


        
5条回答
  •  轮回少年
    2021-01-04 14:21

    Here is my config file:

    exports.config = {
    
    seleniumAddress: 'http://127.0.0.1:4444/wd/hub',
    capabilities: {
    'browserName': 'internet explorer',
     },
    
    framework: 'jasmine',
    
    // Spec patterns are relative to the current working directory when
    // protractor is called.
    specs: ['your_spec_file.js'],
    

    };

    The steps to run in IE :

    1. Need two terminals in Visual Studio Code, In the first terminal, Run command "webdriver-manager start" to start selenium server.
    2. In the second terminal, Run your js config file as : Protractor conffile_name.js

    This will successfully start Internet explorer. Thanks

提交回复
热议问题