Class Profile
code »Models a Firefox proifle directory for use with the FirefoxDriver. The
Proifle directory uses an in-memory model until #writeToDisk
is called.
Constructor
Profile ( opt_dir )
| Parameters |
|---|
|
Show:
Instance Methods
| Returns |
|---|
|
code »addExtension ( extension )Registers an extension to be included with this profile.
| Parameters |
|---|
|
| Returns |
|---|
|
Returns the currently configured value of a profile preference. This does
not include any defaults defined in the profile's template directory user.js
file (if a template were specified on construction).
| Parameters |
|---|
|
| Returns |
|
Returns whether native events are enabled in this profile.
| Returns |
|---|
|
code »setAcceptUntrustedCerts ( value )Sets whether the FirefoxDriver should automatically accept untrusted SSL
certificates.
| Parameters |
|---|
|
code »setAssumeUntrustedCertIssuer ( value )Sets whether to assume untrusted certificates come from untrusted issuers.
| Parameters |
|---|
|
code »setNativeEventsEnabled ( enabled )Sets whether to use native events with this profile.
| Parameters |
|---|
|
code »writeToDisk ( opt_excludeWebDriverExt ) ⇒ !promise.Promise.<string>Writes this profile to disk.
!promise.Promise.<string>| Parameters |
|---|
|
| Returns |
|
Instance Properties
code »extensions_ : !Array.<string>
!Array.<string>