Method: Selenium::WebDriver::Firefox::Launcher#create_profile

Defined in:
lib/selenium/webdriver/firefox/launcher.rb

#create_profileObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

[View source]

52
53
54
55
56
57
58
# File 'lib/selenium/webdriver/firefox/launcher.rb', line 52

def create_profile
  fetch_profile unless @profile

  @profile.add_webdriver_extension
  @profile.port = @port
  @profile_dir = @profile.layout_on_disk
end