Skip to content

Commit d3dc9eb

Browse files
authored
Merge pull request #51 from zebrunner/appium-8.3.0
bump up appium to 8.3.0
2 parents da93c23 + dfe0212 commit d3dc9eb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ dependencies {
1313
compileOnly('com.konghq:unirest-java:3.13.10')
1414
implementation('org.yaml:snakeyaml:1.30')
1515

16-
implementation("net.bytebuddy:byte-buddy:1.12.10")
17-
compileOnly('io.appium:java-client:8.2.0')
16+
implementation("net.bytebuddy:byte-buddy:1.12.18")
17+
compileOnly('io.appium:java-client:8.3.0')
1818

1919
implementation('org.slf4j:slf4j-api:1.7.36')
2020
compileOnly("log4j:log4j:1.2.17")

src/main/java/com/zebrunner/agent/core/webdriver/DriverSessionsAgent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ public static void premain(String args, Instrumentation instrumentation) {
4848
new AgentBuilder.Default()
4949
.with(new AgentBuilder.InitializationStrategy.SelfInjection.Eager())
5050
.type(named(REMOTE_WEB_DRIVER_CLASS_MAME))
51-
.transform((builder, type, classloader, module) -> addInterceptors(builder))
51+
.transform((builder, type, classloader, module, protectionDomain) -> addInterceptors(builder))
5252
// if ** <- AppiumDriver is created, then the startSession method in RemoteWebDriver is not called
5353
.type(named(APPIUM_WEB_DRIVER_CLASS_MAME))
54-
.transform((builder, type, classloader, module) ->
54+
.transform((builder, type, classloader, module, protectionDomain) ->
5555
builder.method(named(START_SESSION_METHOD_MAME))
5656
.intercept(to(startSessionInterceptor())))
5757
.installOn(instrumentation);

0 commit comments

Comments
 (0)