From owner-freebsd-ruby@FreeBSD.ORG Mon Jul 14 09:36:10 2014 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 19D225F8 for ; Mon, 14 Jul 2014 09:36:10 +0000 (UTC) Received: from mail-pd0-x233.google.com (mail-pd0-x233.google.com [IPv6:2607:f8b0:400e:c02::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E5EBF232A for ; Mon, 14 Jul 2014 09:36:09 +0000 (UTC) Received: by mail-pd0-f179.google.com with SMTP id w10so4960387pde.10 for ; Mon, 14 Jul 2014 02:36:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding:content-type; bh=D7sukITfVjyUTVP/0tyQaVnYPYgY0jjVreBPmNMSam4=; b=A18dm9Vfn14cnEhliA76H2z40Go8HK9GANIgTZwV6z4taxmXhTroULSuj6+rs+urSh fFQaHSUz8+DTRK9s2xJF62rehgFMftnaaaTF8vdzjZkBu1y8oylq2udV56/Bj+gZF46j Qdpj/FB1PcXhHQldew/iPelS6GA4r4wXLhpFTDaD/JkSUafVnn6JluwGel4nAWS/Ospz q+QbM12LYmE0ZOIrZWzGBXGQlHhAKd6OpHCSesIlL8zjIHbYP2qsBUxCyRQK1inHuwyF uioTSw9wGx9dl8/YdvuBx0I8FDD20vVNcfT3bgE0aXVMSBegQNg6fw2nCBbez14ubfX6 bZ2g== X-Received: by 10.70.118.5 with SMTP id ki5mr8157900pdb.104.1405330569520; Mon, 14 Jul 2014 02:36:09 -0700 (PDT) Received: from realbsd.localnet ([58.20.244.60]) by mx.google.com with ESMTPSA id ia2sm10225908pbb.32.2014.07.14.02.36.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Jul 2014 02:36:08 -0700 (PDT) From: absolutelyconvergent@gmail.com X-Google-Original-From: abscon@realbsd To: ruby@freebsd.org Subject: rubygem-selenium-webdriver-2.38.0 doesn't work with firefox Date: Mon, 14 Jul 2014 17:35:51 +0800 Message-ID: <1942787.bipI71X0Fp@realbsd> User-Agent: KMail/4.12.5 (FreeBSD/10.0-RELEASE-p7; KDE/4.12.5; amd64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2014 09:36:10 -0000 #!/usr/local/bin/ruby require 'rubygems' require 'selenium-webdriver' driver = Selenium::WebDriver.for :firefox driver.get "http://example.com/" puts "Page title is #{driver.title}" driver.quit This simple script finished with a popup message, saying Profile missing: Your Firefox profile cannot be loaded. It may be missing or inaccessible. And no luck with Selenium::WebDriver::Firefox::Profile.from_name. But py27-selenium-2.42.0 worked fine.