代码拉取完成,页面将自动刷新
New features:
symfony/css-selector
7Testsuite:
New features:
symfony/css-selector
6WebAssert::elementAttributeNotExists
Removed:
symfony/css-selector
<4.4Bug fixes:
New features:
Element::waitFor
Removed:
Testsuite:
Bug fixes:
NodeElement::getValue
. This method actually returns null
in some cases (unchecked checkbox for instance)New features:
visit
. Mink::getSession()
will no longer start the session automatically.symfony/css-selector
4 and 5Bug fixes:
ExpectationException::getSession()
|
inside strings or conditions rather than as a top-level unioncount
on stringsTestsuite:
Driver testsuite:
mink/driver-testsuite
to run driver tests instead.Misc:
Boolean
to boolean
to be compatible with psalm type checkingBug fixes:
Testsuite:
Driver testsuite:
wait()
always return a boolean even when the JS expression does not cast the valueMisc:
New features:
Session::getResponseHeader
to access a response header easilyCoreDriver::findElementXpaths
instead of implementing find
and setSession
themselves.Bug fixes:
.php
symfony/phpunit-bridge
to get them reported
when using Mink in your PHPUnit tests.NodeElement::hasClass
in case the class attribute contains newlinesTestsuite:
Driver testsuite:
Misc:
Bug fixes:
WebAssert::cleanUrl()
Driver testsuite:
Misc:
NodeElement::getValue
for checkboxes to return the value rather than the checked state (use isChecked
for that)NodeElement::setValue
to support any fields rather than only input elementsBehat\Mink\Selector\Xpath\Escaper
to allow reusing the XPath escapingElement::getSession
. Code needing the session should get it from outside rather than the elementElement::getOuterHtml
to get the HTML code of the element including itselfplaceholder
only for textual inputsElement::waitFor
to allow retrying some code until it succeeds or the timeout is reachedElement::isValid
to check whether an element still exists in the pageSession::executeScript
compatible across drivers by ensuring they all support the same syntaxes for the JS expressionSession::evaluateScript
compatible across drivers by ensuring they all support the same syntaxes for the JS expressionhasClass
from DocumentElement
(instead of triggering a fatal error)NodeElement::getTagName
to ensure that the tag name is lowercase for all driversElement::hasAttribute
to ensure it supports attributes with an empty valuefield
selector to avoid matching inputs with the type submit
or reset
reset
buttons as wellSession::wait
to return the condition value rather than nothingSession::getWindowName
and Session::getWindowNames
to get the name of the current and of all windowsSession::maximizeWindow
to maximize the windowNodeElement::isSelected
to check whether an <option>
is selectedNodeElement::submitForm
to allow submitting a form without using a buttonWebAssert
CoreDriver
to simplify future drivers improvementsMink::isSessionStarted()
methodpreg_replace
bugsWebAssert::pageText...()
methodsSession::selectWindow()
and Session::selectIFrame()
methodsWebAssert
classBehat\MinkExtension
__toString()
show_tmp_dir
option in MinkContextshould see
stepshould see
step此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。