Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3397730
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T04:33:49+00:00 2026-05-18T04:33:49+00:00

Selenium seems to be pausing for about a minute between each step (I haven’t

  • 0

Selenium seems to be pausing for about a minute between each step (I haven’t seen less than 60 seconds). Even steps that should be simple (like setSpeed) run at the same rate.

However, when I use the PHPUnit_Extensions_SeleniumTestCase class, I am able to run tests at normal speed. (Also, the slow steps run fine on a coworker’s computer.)

Anyone know what I’m doing wrong? Thanks!

Here is the slow test:

debug_time(); // 0

require_once 'Testing/Selenium.php';
debug_time(); // 1

$s = new Testing_Selenium('*firefox', "http://google.com/");
debug_time(); // 2

$s->setSpeed(0);
debug_time(); // 3

$s->start();
debug_time(); // 4

var_export($s->getSpeed());
echo "\n";
debug_time(); // 5

$s->open('/');
debug_time(); // 6

$s->stop();
debug_time(); // 7

echo "done";

Here is the output for the slow test:

0 => 18:01:54.44488 (+ 0.00000)
1 => 18:01:54.45478 (+ 0.00990)
2 => 18:01:54.45645 (+ 0.00167)
3 => 18:02:54.97334 (+ 60.51688)
4 => 18:04:03.59346 (+ 68.62013)
NULL
5 => 18:05:04.11214 (+ 60.51867)
6 => 18:06:05.83747 (+ 61.72534)
7 => 18:07:06.63492 (+ 60.79744)
done

Here is the fast test, taken from the PHPUnit manual:

require_once 'PHPUnit/Extensions/SeleniumTestCase.php';

class WebTest extends PHPUnit_Extensions_SeleniumTestCase
{
    protected function setUp()
    {
        $this->setBrowser('*firefox');
        $this->setBrowserUrl('http://google.com/');
    }

    public function testTitle()
    {
        $this->open('/');
        $this->assertTitleEquals('Example Web Page');
    }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T04:33:50+00:00Added an answer on May 18, 2026 at 4:33 am

    The same here. Downgrade to Testing_Selenium-0.4.3 helped. Trying to find the reason. May be PHP5.3?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It seems there is very few comparison between Selenium / WatiN and SimpleTest (which
I'm using selenium-client to run a few tests, but Selenium seems to be using
I'm currently evaluating Selenium and it seems I'll have to perform certain steps in
I have a Selenium test case that enters dates into a date selector made
We've been using selenium with great success to handle high-level website testing (in addition
I'm using selenium to run some functional tests on the UI for our current
I'm using the Selenium Fitnesse Bridge Fixture in order to write tests in Fitnesse
We are running Selenium regression tests against our existing code base, and certain screens
Is it possible to create Selenium tests using the Firefox plugin that use randomly
We are setting up a Selenium test campaign on a big web application. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.