Skip to content

Commit e1e1a75

Browse files
authored
Java client bindings (#23)
* Add Java client bindings. * Make AutoService optional. * Options tests. * Add license and developer info to POM. * Update POM for deployment. * Remove workspace.xml. * Update pom.xml * Update README * Use same build dependencies as offical chrome package.
1 parent 5baf710 commit e1e1a75

15 files changed

+1376
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,17 @@ options.UseChromium = true;
6060
var driver = new EdgeDriver(options);
6161
```
6262

63+
### Java
64+
65+
Import `EdgeDriver` from the `com.microsoft.edge.seleniumtools` package to launch Microsoft Edge (Chromium). The `com.microsoft.edge.seleniumtools` package supports **Chromium** only. Use the official Selenium 3 package `org.openqa.selenium.edge` to launch **EdgeHTML**.
66+
67+
```java
68+
import com.microsoft.edge.seleniumtools.EdgeDriver;
69+
70+
// Launch Microsoft Edge (Chromium)
71+
EdgeDriver driver = new EdgeDriver();
72+
```
73+
6374
### JavaScript
6475

6576
```js

java/.gitignore

+126
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/maven
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=maven
3+
4+
### Maven ###
5+
target/
6+
pom.xml.tag
7+
pom.xml.releaseBackup
8+
pom.xml.versionsBackup
9+
pom.xml.next
10+
release.properties
11+
dependency-reduced-pom.xml
12+
buildNumber.properties
13+
.mvn/timing.properties
14+
# https://github.com/takari/maven-wrapper#usage-without-binary-jar
15+
.mvn/wrapper/maven-wrapper.jar
16+
17+
# End of https://www.toptal.com/developers/gitignore/api/maven
18+
19+
20+
# Created by https://www.toptal.com/developers/gitignore/api/intellij
21+
# Edit at https://www.toptal.com/developers/gitignore?templates=intellij
22+
23+
### Intellij ###
24+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
25+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
26+
27+
# User-specific stuff
28+
.idea/**/workspace.xml
29+
.idea/**/tasks.xml
30+
.idea/**/usage.statistics.xml
31+
.idea/**/dictionaries
32+
.idea/**/shelf
33+
34+
# Generated files
35+
.idea/**/contentModel.xml
36+
37+
# Sensitive or high-churn files
38+
.idea/**/dataSources/
39+
.idea/**/dataSources.ids
40+
.idea/**/dataSources.local.xml
41+
.idea/**/sqlDataSources.xml
42+
.idea/**/dynamic.xml
43+
.idea/**/uiDesigner.xml
44+
.idea/**/dbnavigator.xml
45+
46+
# Gradle
47+
.idea/**/gradle.xml
48+
.idea/**/libraries
49+
50+
# Gradle and Maven with auto-import
51+
# When using Gradle or Maven with auto-import, you should exclude module files,
52+
# since they will be recreated, and may cause churn. Uncomment if using
53+
# auto-import.
54+
# .idea/artifacts
55+
# .idea/compiler.xml
56+
# .idea/jarRepositories.xml
57+
# .idea/modules.xml
58+
# .idea/*.iml
59+
# .idea/modules
60+
# *.iml
61+
# *.ipr
62+
63+
# CMake
64+
cmake-build-*/
65+
66+
# Mongo Explorer plugin
67+
.idea/**/mongoSettings.xml
68+
69+
# File-based project format
70+
*.iws
71+
72+
# IntelliJ
73+
out/
74+
75+
# mpeltonen/sbt-idea plugin
76+
.idea_modules/
77+
78+
# JIRA plugin
79+
atlassian-ide-plugin.xml
80+
81+
# Cursive Clojure plugin
82+
.idea/replstate.xml
83+
84+
# Crashlytics plugin (for Android Studio and IntelliJ)
85+
com_crashlytics_export_strings.xml
86+
crashlytics.properties
87+
crashlytics-build.properties
88+
fabric.properties
89+
90+
# Editor-based Rest Client
91+
.idea/httpRequests
92+
93+
# Android studio 3.1+ serialized cache file
94+
.idea/caches/build_file_checksums.ser
95+
96+
### Intellij Patch ###
97+
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
98+
99+
# *.iml
100+
# modules.xml
101+
# .idea/misc.xml
102+
# *.ipr
103+
104+
# Sonarlint plugin
105+
# https://plugins.jetbrains.com/plugin/7973-sonarlint
106+
.idea/**/sonarlint/
107+
108+
# SonarQube Plugin
109+
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
110+
.idea/**/sonarIssues.xml
111+
112+
# Markdown Navigator plugin
113+
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
114+
.idea/**/markdown-navigator.xml
115+
.idea/**/markdown-navigator-enh.xml
116+
.idea/**/markdown-navigator/
117+
118+
# Cache file creation bug
119+
# See https://youtrack.jetbrains.com/issue/JBR-2257
120+
.idea/$CACHE_FILE$
121+
122+
# CodeStream plugin
123+
# https://plugins.jetbrains.com/plugin/12206-codestream
124+
.idea/codestream.xml
125+
126+
# End of https://www.toptal.com/developers/gitignore/api/intellij

java/.idea/compiler.xml

+14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

java/.idea/encodings.xml

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

java/.idea/jarRepositories.xml

+20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

java/.idea/misc.xml

+14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

java/java.iml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module type="JAVA_MODULE" version="4" />

0 commit comments

Comments
 (0)