unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055)
Firefox version used is v45.0, Selenium-webdriver is 2.53.4 and capybara (2.14.0). I am trying to use aws_account_utils gem of ruby to create aws account.
I am calling it from Ruby code as suggested. Page where the browser gets initialized is :
require 'aws_account_utils/base' require 'watir-webdriver' Watir::HTMLElement.attributes << :ng_model Watir::HTMLElement.attributes << :ng_click
module AwsAccountUtils class WatirBrowser attr_reader :logger
def initialize(logger) @logger = logger end
def create logger.debug "Launching new browser." Watir::Browser.new(:firefox, :profile => set_firefox_profile) end
private def set_firefox_profile profile = Selenium::WebDriver::Firefox::Profile.new
if proxy proxy_settings.each do |k,v| profile["network.proxy.#{k}"] = v end end
profile['browser.privatebrowsing.dont_prompt_on_enter'] = true profile['browser.privatebrowsing.autostart'] = true profile.native_events = false profile end
def proxy_settings { 'http' => proxy, 'http_port' => proxy_port, 'ssl' => proxy, 'ssl_port' => proxy_port, 'no_proxies_on' => '127.0.0.1', 'type' => 1 } end
def proxy @proxy ||= ENV['AWS_ACCOUNT_UTILS_HTTP_PROXY'] end
def proxy_port @proxy_port ||= ENV['AWS_ACCOUNT_UTILS_HTTP_PROXY_PORT'] end end end
====================== Please suggest what am I missing as it is lingering around from some time now for me. Is it some version issue if selenium-webdriver or Firefox ? What would be the magic combination to resolve it ?
@devanshukumar1990 We have deprecated this project and are recommending people leverage AWS organizations to automate AWS account creation (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_create.html).