Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
test-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
马博
test-platform
Commits
a93b3ec5
Commit
a93b3ec5
authored
Dec 11, 2018
by
马博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
fe46d0dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
WebDriverFactory.java
src/test/java/ui/common/WebDriverFactory.java
+1
-1
No files found.
src/test/java/ui/common/WebDriverFactory.java
View file @
a93b3ec5
...
@@ -71,7 +71,7 @@ public class WebDriverFactory {
...
@@ -71,7 +71,7 @@ public class WebDriverFactory {
String
OS
=
prop
.
getProperty
(
"os.name"
);
String
OS
=
prop
.
getProperty
(
"os.name"
);
boolean
bl
=
OS
.
startsWith
(
"Mac"
);
boolean
bl
=
OS
.
startsWith
(
"Mac"
);
String
basePath
=
WebDriverType
.
class
.
getClassLoader
().
getResource
(
""
).
getPath
();
String
basePath
=
WebDriverType
.
class
.
getClassLoader
().
getResource
(
""
).
getPath
();
basePath
.
replaceAll
(
"%20"
,
" "
);
//repaceAll("%20",'');
basePath
=
basePath
.
replaceAll
(
"%20"
,
" "
);
//repaceAll("%20",'');
File
directory
=
new
File
(
""
);
File
directory
=
new
File
(
""
);
System
.
out
.
println
(
"-----路径:"
+
directory
.
getAbsolutePath
());
System
.
out
.
println
(
"-----路径:"
+
directory
.
getAbsolutePath
());
RemoteWebDriver
browser
=
null
;
RemoteWebDriver
browser
=
null
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment