Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (19.7k points)

I need to download a CSV file from my app using Open:: URI and to do that I need to give it a fully qualified URI. So what's the best way to get the HOST and more importantly PORT in my cucumber script?

Note I am using Capybara and Selenium

1 Answer

0 votes
by (62.9k points)

You can set the port that will be used to spawn an application server

Capybara.server_port = 31337

 Hope this helps!

Browse Categories

...