Skip to content
This repository has been archived by the owner on May 29, 2023. It is now read-only.

Commit

Permalink
release selenoid-selenoid 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
asolntsev committed Nov 20, 2020
1 parent 15713b5 commit d7b26c6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {

group = 'org.selenide'
archivesBaseName = 'selenide-selenoid'
version = '1.0.0-SNAPSHOT'
version = '1.0.0'

apply from: rootProject.file('gradle/compilation.gradle')
apply from: rootProject.file('gradle/dependencies.gradle')
Expand Down
6 changes: 5 additions & 1 deletion gradle/dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
ext.versions = [
selenide: '5.16.0-SNAPSHOT',
selenide: '5.16.0',
browserupproxy: '2.1.1',
netty: '4.1.54.Final',
junit: '5.7.0',
Expand Down Expand Up @@ -28,3 +28,7 @@ repositories {
}
}
}

configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
8 changes: 1 addition & 7 deletions src/test/java/integration/FileDownloadTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
import com.codeborne.selenide.FileDownloadMode;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.openqa.selenium.net.NetworkUtils;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.File;
import java.io.IOException;
Expand All @@ -23,7 +20,6 @@
public class FileDownloadTest {
@BeforeEach
void setUp() {
Configuration.proxyHost = new NetworkUtils().getNonLoopbackAddressOfThisMachine();
Configuration.remote = "http://localhost:4444/wd/hub";

DesiredCapabilities capabilities = new DesiredCapabilities();
Expand All @@ -33,9 +29,7 @@ void setUp() {
capabilities.setCapability("enableVideo", true);
capabilities.setCapability("enableLog", true);
Configuration.browserCapabilities = capabilities;
// Configuration.fileDownload = FileDownloadMode.FOLDER;
Configuration.fileDownload = FileDownloadMode.PROXY;
Configuration.proxyEnabled = true;
Configuration.fileDownload = FileDownloadMode.FOLDER;
}

@Test
Expand Down

0 comments on commit d7b26c6

Please sign in to comment.