Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Unable to load chrome profile in protractor tests. #4840

@abid71

Description

@abid71

Hi,

Bug report

  • Node Version: v9.5.0

  • Protractor Version: 5.1.1

  • Angular Version: ``

  • Browser(s): Chrome 67

  • Operating System and Version Win 10

  • Your protractor configuration file:
    'use strict';

exports.config = {
framework: 'jasmine2',
seleniumAddress: 'http://localhost:4444/wd/hub',
//directConnect: true,

baseUrl: 'https://web.whatsapp.com/🌐/en',
getPageTimeout: 150000,

suites: {
    web_whatsapp: ['specs/back-end/web_whatsapp/web_whatsapp.spec.js'],
    exapmel: ['specs/stats/ListingOn.js'],
},

capabilities: {
    'browserName': 'chrome',
    'chromeOptions': {
        'args': ['--disable-web-security', '--user-data-dir=C:\WA-chromeProfile', 'disable-extensions', 'start-maximized', 'lang=en-EN', '--disable-infobars', '--enable-single-click-autofill', '--dom-automation', '--enable-automation'],

        prefs: {
            'credentials_enable_service': false,
            'password_manager_enabled': false,
        }
    }
},
onPrepare: function() {
    var SpecReporter = require('jasmine-spec-reporter').SpecReporter;
    jasmine.getEnv().addReporter(new SpecReporter({displayStacktrace: 'all', displayPending: true}));
}

}

Im tryiong to access web.whatsapp.com by using set profile i.e. --user-data-dir=C:\WA-chromeProfile' but I can access this whatsapp url without using this profile.

Any idea about this issue? Is it something with Whatsapp who's not supporting PROFILES now?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions