Skip to content

Commit a57b2bc

Browse files
committed
Add log types; use official repo URL where possible
1 parent 24fbd20 commit a57b2bc

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
lines changed

lib/WebDriver/AppCacheStatus.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final class AppCacheStatus
3131
/**
3232
* Application cache status
3333
*
34-
* @see https://github.com/Selenium2/Selenium2/blob/master/java/client/src/org/openqa/selenium/html5/AppCacheStatus.java
34+
* @see https://code.google.com/p/selenium/source/browse/java/client/src/org/openqa/selenium/html5/AppCacheStatus.java
3535
*/
3636
const UNCACHED = 0;
3737
const IDLE = 1;

lib/WebDriver/LogType.php

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?php
2+
/**
3+
* Copyright 2014 Anthon Pang. All Rights Reserved.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*
17+
* @package WebDriver
18+
*
19+
* @author Anthon Pang <apang@softwaredevelopment.ca>
20+
*/
21+
22+
namespace WebDriver;
23+
24+
/**
25+
* WebDriver\LogType class
26+
*
27+
* @package WebDriver
28+
*/
29+
final class LogType
30+
{
31+
/**
32+
* Log Type
33+
*
34+
* @see https://code.google.com/p/selenium/source/browse/java/client/src/org/openqa/selenium/logging/LogType.java
35+
*/
36+
const BROWSER = 'browser';
37+
const CLIENT = 'client';
38+
const DRIVER = 'driver';
39+
const PERFORMANCE = 'performance';
40+
const PROFILER = 'driver';
41+
const SERVER = 'server';
42+
}

0 commit comments

Comments
 (0)