-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Labels
Description
--- Summary: ---
- Trying to launch Selenium::Firefox with a dedicated profile ends up using a tmp-profile
--- Environment: ---
- Debian: 10
- Perl 5.28.1
- Firefox: 68.6.0esr
- Geckodriver: 0.26.0
- Selenium-Remote-Driver 1.37
--- Code to launch with a dedicated Firefox-profile: ---
use 5.018;
use Selenium::Firefox::Profile;
use Selenium::Firefox;
my $driver = Selenium::Firefox->new(
'firefox_profile' => Selenium::Firefox::Profile->new(
'profile_dir'=>'/path/to/firefox/profile'
)
);
$driver->get('https://www.mozilla.org');
say $driver->get_title();
sleep(60); # Just to get time to run the ps and look for the Firefox-entry
--- Run code, verify profile being used from ps: ---
- ps aux | grep firefox | grep profile
The firefox-entry should pop up:
- firefox-esr -marionette -foreground -no-remote -profile /tmp/rust_mozprofile...