I am using the PHPUnit Selenium extension for web testing. I find it very slow, taking seconds for one testing method. Part of the problem is that it starts a new Selenium session between each test method (getNewBrowserSession) in runTest (). It is expensive. I'm fine with running a class or even a whole set of test method values in one selenium session.
Can this be done? Are there any other tips to speed up PHPUnit + Selenium?
Thank.
Have you tried using the browserSessionReuse parameter? For instance. initial selenium with
java -jar ./selenium-server.java -browserSessionReuse
Selenium . PHPUnit, JUnit ( , Selenium, ). TestNG .
XPath, IE - XPath .
, Selenium 1 JavaScript , IE. Selenium 2 (aka WebDriver) , , , IE .
Continuous Integration . , , . .
Source: https://habr.com/ru/post/1769796/More articles:Rails 3 Conditional Inclusion of Javascript Files - javascripthttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1769792/maven-how-to-add-files-to-the-root-inside-an-ear-with-maven-ear-plugin&usg=ALkJrhgABWfCkch_XOig90HUlPo7b54TBQCucumber: How to write fragment / step definitions in PHP? - ruby | fooobar.comShould I use open source software in my commercial application? - open-sourcePrinting columns using awk or cut? - scriptingDownload Rails Files and View Updates - Howto? - javascriptКак сделать заголовок столбца таблицы clickable в Wicket - javahow to edit the div of the main page from the child page? - c #Parsing and modifying a file in turn while saving EOL characters in Java - javaAndroid - indicates that the menu is available - androidAll Articles