Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying remote recording (documentation problem) #45

Open
danielshama opened this issue Nov 5, 2017 · 5 comments
Open

Trying remote recording (documentation problem) #45

danielshama opened this issue Nov 5, 2017 · 5 comments

Comments

@danielshama
Copy link

Hi,
I'm trying the remote recording using the documentation example.

`@BeforeClass

public void setUp() throws Exception {

    URL hubUrl = new URL("http://localhost:4444/wd/hub");

    driver = new RemoteWebDriver(hubUrl, DesiredCapabilities.firefox());

    String nodeIp = GridInfoExtractor.getNodeIp(hubUrl, driver.getSessionId().toString());

    VideoRecorder.conf()

            .withRemoteUrl(nodeIp);

}`

It's seems that the documentation not updated.
In this example you used "withRemoteUrl" method that deprecated in the new version.

What should I replace it with?

And one more question, where the video file will be store using the remote mode?

Thanks,
Daniel.

@SergeyPirogov
Copy link
Owner

Actually remote recorder is the one that is developed with less care. Docs are not up to date for this. If this feature is really important for you, we can polish it together

@danielshama
Copy link
Author

OK, just a question if you don't care
In case we need to use Selenium-grid and record the slave machine, do we need this component?

@SergeyPirogov
Copy link
Owner

Yes

@ansonliao
Copy link

@SergeyPirogov

Could you help to publish remote recording? we need to this feature.

we setup our test in docker with selenium grid-node infrastructure, and run the test within the maven docker, we need to record the test and saved the video once the test failed within maven docker, and mount the video folder of maven docker to host machine.

we hope can reproduce/trace the failure ASAP.

could you help on it?

@sonnh-est
Copy link

@SergeyPirogov Can we record remotely in latest version(2.0) now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants