You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
Setup gradle project in intellij idea with embedded BrowserUp proxy:
plugins {
id 'java'
}
group 'org.example'
version '1.0-SNAPSHOT'
sourceCompatibility = JavaVersion.VERSION_11
repositories {
mavenCentral()
}
dependencies {
compile 'org.testng:testng:6.14.3'
testCompile group: 'junit', name: 'junit', version: '4.13'
compile 'org.seleniumhq.selenium:selenium-java:3.141.59'
compile 'com.browserup:browserup-proxy-core:2.1.1'
}
test {
// enable TestNG support (default is JUnit)
useTestNG()
// show standard out and standard error of the test JVM(s) on the console
testLogging.showStandardStreams = true
// set heap size for the test JVM(s)
minHeapSize = "128m"
maxHeapSize = "512m"
// set JVM arguments for the test JVM(s)
jvmArgs '-XX:MaxPermSize=256m'
}
NOTE: Test above is ran in selenoid, tried pure WebDriver and result is the same.
Expected behavior
Test is run successfully.
Actual Result
Browser states there is no internet
Please complete the following information:
OS: any
Browser chrome
Additional context
If I select for the test Run Using gradle (not intellij idea) or execute it not with the testng/junit test but in main method or just use maven instead of gradle then the issue is not reproducible, the test runs fine. Moreover old version compile 'net.lightbody.bmp:browsermob-core:2.1.5' does not have such issue, the test runs successfully with any option.
The text was updated successfully, but these errors were encountered:
To Reproduce
Steps to reproduce the behavior:
Select Run tests using intellij idea
Execute simple test as testng or junit test like:
NOTE: Test above is ran in selenoid, tried pure WebDriver and result is the same.
Expected behavior
Test is run successfully.
Actual Result
Browser states there is no internet
Please complete the following information:
Additional context
If I select for the test Run Using gradle (not intellij idea) or execute it not with the testng/junit test but in main method or just use maven instead of gradle then the issue is not reproducible, the test runs fine. Moreover old version
compile 'net.lightbody.bmp:browsermob-core:2.1.5'
does not have such issue, the test runs successfully with any option.The text was updated successfully, but these errors were encountered: