|
@@ -128,7 +128,7 @@ available here.
|
|
|
'platform' - <string> - desired platform: {WINDOWS|XP|VISTA|MAC|LINUX|UNIX|ANY}
|
|
'platform' - <string> - desired platform: {WINDOWS|XP|VISTA|MAC|LINUX|UNIX|ANY}
|
|
|
'javascript' - <boolean> - whether javascript should be supported
|
|
'javascript' - <boolean> - whether javascript should be supported
|
|
|
'accept_ssl_certs' - <boolean> - whether SSL certs should be accepted, default is true.
|
|
'accept_ssl_certs' - <boolean> - whether SSL certs should be accepted, default is true.
|
|
|
- 'firefox_profile' - Profile - Use S::R::D::Firefox::Profile to create a Firefox profile for the browser to use
|
|
|
|
|
|
|
+ 'firefox_profile' - Profile - Use Selenium::Firefox::Profile to create a Firefox profile for the browser to use
|
|
|
'proxy' - HASH - Proxy configuration with the following keys:
|
|
'proxy' - HASH - Proxy configuration with the following keys:
|
|
|
'proxyType' - <string> - REQUIRED, Possible values are:
|
|
'proxyType' - <string> - REQUIRED, Possible values are:
|
|
|
direct - A direct connection - no proxy in use,
|
|
direct - A direct connection - no proxy in use,
|
|
@@ -388,8 +388,8 @@ has 'firefox_profile' => (
|
|
|
coerce => sub {
|
|
coerce => sub {
|
|
|
my $profile = shift;
|
|
my $profile = shift;
|
|
|
unless (Scalar::Util::blessed($profile)
|
|
unless (Scalar::Util::blessed($profile)
|
|
|
- && $profile->isa('Selenium::Remote::Driver::Firefox::Profile')) {
|
|
|
|
|
- croak "firefox_profile should be a Selenium::Remote::Driver::Firefox::Profile\n";
|
|
|
|
|
|
|
+ && $profile->isa('Selenium::Firefox::Profile')) {
|
|
|
|
|
+ croak "firefox_profile should be a Selenium::Firefox::Profile\n";
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
return $profile->_encode;
|
|
return $profile->_encode;
|