Get firefox profile path in selenium WebdriverJS

716 views Asked by At
1

There are 1 answers

0
Keff On BEST ANSWER

Okey so to get the profile what I ended up doing is the following:

let capabilities = await this.firefox.getCapabilities();
let profile = capabilities.get('moz:profile');

Then you have access to the temporal profile.