Procházet zdrojové kódy

removed dbg messages

Emmanuel 'BHS_error' Peroumalnaik před 11 roky
rodič
revize
8180cea79a

+ 0 - 1
lib/Selenium/Remote/Driver.pm

@@ -547,7 +547,6 @@ sub _request_new_session {
         no_content_success => $self->commands->get_no_content_success('newSession'),
     };
     my $rc = $self->remote_conn;
-    $DB::single = 1;
     my $resp = $rc->request(
         $resource_new_session, 
         $args,

+ 0 - 1
t/Test-Selenium-Remote-Driver.t

@@ -10,7 +10,6 @@ use MockRemoteConnection;
 my $spec = {
     findElement => sub {
         my (undef,$searched_item) = @_;
-        $DB::single = 1;
         return { status => 'OK', return => { ELEMENT => '123456' } }
           if ( $searched_item->{value} eq 'q' );
         return { status => 'NOK', return => 0, error => 'element not found' };

+ 1 - 0
t/Test-Selenium-Remote-WebElement.t

@@ -15,6 +15,7 @@ foreach my $k (
   ) {
       $spec->{$k} = sub { return { status => 'OK', return => 1 }};
 }
+
 $spec->{getElementTagName} = sub { return { status => 'OK', return => 'iframe' }}; 
 $spec->{getElementValue} = sub { return { status => 'OK', return => 'my_value' }};
 $spec->{getElementText} = sub { return { status => 'OK', return => "my_text\nis fantastic" }};