in reply to Re: how to browse a dynamic site using mechanize?
in thread how to browse a dynamic site using mechanize?
can you tell me how to correct it as I have no clue about the host and the port number#! /usr/bin/perl use strict; use warnings; use WWW::Selenium; my $sel = WWW::Selenium->new( host => "localhost", port => 4444, browser => "*chrome", browser_url => "http://www.google. +com" ); $sel->start(); $sel->open("http://www.google.com"); $sel->click('<button class="gbqfba" name="btnK" aria-label="Google Sea +rch" id="gbqfba"><span id="gbqfsa">Google Search</span></button>'); $sel->wait_for_page_to_load("30000");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: how to browse a dynamic site using mechanize?
by Corion (Patriarch) on May 16, 2012 at 07:19 UTC | |
by jack123 (Acolyte) on May 16, 2012 at 07:22 UTC | |
by Corion (Patriarch) on May 16, 2012 at 07:27 UTC | |
by jack123 (Acolyte) on May 16, 2012 at 07:32 UTC | |
by Corion (Patriarch) on May 16, 2012 at 07:38 UTC | |
|