Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Dusk Laravel Package

laravel/dusk

Laravel Dusk is Laravel’s browser automation and end-to-end testing tool, offering a clean, expressive API for driving real browsers. Runs with a bundled standalone Chromedriver by default (no Selenium/JDK required), but supports other drivers too.

View on GitHub
Deep Wiki
Context7
v8.5.0
v8.4.0
v8.3.6
v8.3.2
v8.2.13
v8.2.10
v8.2.9
v8.2.7
v8.2.6
v8.2.5
v8.2.4
v8.2.3
v8.2.2
v8.2.0
v8.1.2
v8.1.1
v8.0.0
v7.13.0
v7.12.3
v7.12.2
v7.9.3
v7.9.2
v7.9.1
v7.9.0
v7.8.0
v7.7.1
v7.7.0
v7.6.1

Fixed

v7.6.0

Added

v7.4.0

Added

v7.3.0

Changed

v7.2.1

Fixed

v7.2.0

Added

v7.12.0
v7.11.4
v7.11.3
v7.11.2
v7.11.1
v7.11.0
v7.1.1

Fixed

v7.1.0

Added

v7.0.2

Changed

v7.0.1

Fixed

v7.0.0

Changed

Removed

v6.9.1

Fixed

  • Add Vue 3 support to the assertVue*() methods (#834)
v6.9.0

Added

  • PHP 8 Support (#833)
v6.8.1

Changed

  • Changes in preparation for Laravel Sail
v6.8.0

Added

  • Capture source code on failure (#819, 3c59a5c)
  • Add assertScript() (#821)
  • Added waitForTextIn Function (#823)
  • Allow to utilise browser "about:blank" page (#824)

Fixed

  • Fix choosing random elements on <select> (#822)
  • Fix logout() when using AuthenticateSession middleware (#826)
v6.7.0

Added

v6.6.1

Fixed

  • Fix the fitContent() method (#815)
v6.6.0

Added

  • Allow proxy for getting latest version (#805)
v6.5.1

Fixed

  • Add CookieValuePrefix detection for encrypted cookies (#804)
  • Allow dotenv 5.0 to be installed (#803)
v6.5.0

Added

  • Support Laravel 8 (#800)
v6.4.1

Fixed

  • Pass ssl-no-verify option into latestVersion of ChromeDriver install (#794)
v6.4.0

Added

  • Support clicking the topmost element at a given pair of coordinates (#788)
v6.3.0

Added

  • Support executing closures outside of the current selector scope (#784)
v6.25.1

Fixed

v6.25.0

Added

v6.24.0

Added

v6.23.1

Fixed

v6.23.0

Added

v6.22.3

Fixed

v6.22.2

Changed

v6.22.1

Fixed

  • Fixes link assertion with single or double quote (#965)
v6.22.0

Changed

v6.21.0

Changed

  • Laravel 9 Support (#956)
v6.20.0

Changed

  • Add clickAndWaitForReload (#953)
v6.2.0

Changed

Fixed

  • Domain routing should only be optional (#776)
  • Fix for cookie assertions (#778)
v6.19.2

Fixed

  • Fix assertValue for select elements (#942)
v6.19.1

Changed

  • throw an error if assertValue() is used with an element that does not support the value attribute (#936, 334c49f)

Fixed

  • Fix logout() when using AuthenticateSession and default guard (#939)
v6.19.0

Added

  • Add new assertion assertValueIsNot() (#929)
  • Add new assertion assertAttributeContains() (#931, ab47680)
v6.18.1

Updated

  • Using loginAs with id (#922

Fixed

  • Fix "pest" option does not exist on dusk:fails command (#921)
v6.18.0

Added

  • Add waitUntilEnabled and waitUntilDisabled (#918)
v6.17.1

Changed

  • Support waiting for URLs with waitForLocation (#916)
v6.17.0

Added

  • Add assertInputPresent and assertInputMissing assertions (#914)

Changed

  • Add source directory creation on install (#915)
v6.16.0

Added

  • Make DuskCommand compatible with Pest (#913)

Fixed

  • Fix unicode support in appendSlowly method (#907)
  • Redirect page to previous URL after asserting authentication (#912)
v6.15.1

Changed

  • Allow to pass array for select multiple (#904)

Fixed

  • Fix for class imports (#905)
v6.15.0

Added

  • Added middleware configuration (#888)
v6.14.0

Added

  • Add purge console command (#887)

Changed

  • Move commands to boot method (#884)
  • Refactor redundant purging methods (#886)
v6.13.0

Added

  • Add assertNotPresent() assertion (#879)
v6.12.0

Added

  • Add Dusk command argument --browse (#870)
  • Add support for Mac ARM64 architecture (#876)
v6.11.3

Fixed

  • Add $seconds options to Browser::elseWhenAvailable() (#865)
v6.11.2

Changed

  • Add Chromium path for Debian 10 (#855)

Fixed

  • Do not resize to zero (#858)
  • Fix the value generated when setting encrypted cookies (#857)
v6.11.1

Changed

  • Allow passing mixed to assertVue and assertVueIsNot (#853)
v6.11.0

Added

  • Add Browser::elsewhereWhenAvailable() (#846)
v6.10.0

Added

  • Add new assertions assertSeeAnythingIn() and assertSeeNothingIn() (#843, dc683ee)
v6.1.0

Added

  • Support scrolling an element into view (#766)
  • Support navigating forward in the browser (#767)
v6.0.1

Fixed

  • Trim trailing slash (#764)
v6.0.0

Added

Changed

  • Dropped support for Laravel 5.7 & 5.8 (98af698, e0c173a)
  • Dropped support for PHP 7.1 (210e03e)
  • Dropped support for Carbon v1 (0b880e9)
  • Bumped minimum Symfony dependencies to 4.3 (1ee28e1)
v5.9.2

Fixed

  • Bugfix quoting for InteractsWithElements::value (#735)
  • Remove php-webdriver constraints (#737)
v5.9.1

Fixed

  • Adds the missing import for InteractsWithMouse@clickAtXPath (#728)
  • Size sanity check at fitContent (#730)
  • Lock php-webdriver constraints for now (#733)
v5.9.0

Added

  • Add clickAtXPath (#723, effe73d)
  • Add ProvidesBrowser::getCallerName() (#725)

Fixed

  • Fit content to <html> instead of <body> (#726)
v5.8.2

Changed

  • Rename php-webdriver package (#720)
  • Update jQuery file (#721)

Fixed

  • Update fitContent() (#717)
v5.8.1

Fixed

  • Cast boolean values to appropriate string (#713)
v5.8.0

Added

v5.7.0

Added

  • Automatically fit content on failures (#704)
v5.6.3

Added

  • Support phpdotenv v4 (#699)

Fixed

  • scrollTo: add support for selectors with quotes (#697)
v5.6.2

Changed

  • Allow for Symfony 5 (#696)
v5.6.1

Fixed

  • Ensure jQuery for scrollTo (#686)
  • Added missing return statement in withDuskEnvironment (#691)
  • Prevent using pcntl when not installed (#692)
v5.6.0

Added

  • Add scrollTo method (#684)

Fixed

  • Add graceful handler for SIGINT for .env restoration (#682, f843b8a)
v5.5.2

Fixed

  • Improve detection of latest stable ChromeDriver release (#677)
v5.5.1

Fixed

  • Update regular expression base on website changes (#674)
v5.5.0

Added

  • Allow saving screenshots in a subdirectory (#662)
v5.4.0

Added

  • Add assertion checks if a button is disabled or enabled (#661)

Fixed

  • Update constraints for Laravel 6.0 (e4b4d63)
v5.3.0

Added

  • Add proxy support to the dusk:install command (#659)
v5.2.0

Added

  • Add option to fullsize the browser (#655)
v5.11.0

Added

  • Add assert attribute methods (#751)

Fixed

  • Fix Call to undefined method (#750)
  • Avoid throwing exception on production (#755)
v5.10.0

Added

  • Adds typeSlowly & appendSlowly (#748)
v5.1.1

Fixed

  • Add latest version of Facebook Webdriver (#654)
v5.1.0

Added

v5.0.3

Fixed

  • Fix assertVueContains and assertVueDoesNotContain (#638)
v5.0.2

Fixed

  • Fix cookies with falsey values (#617)
  • Fix with() and page assertions (#625)
  • Avoid deprecation messages on PHPUnit 8 (#620)
v5.0.1

Added

  • Added support for phpunit.dusk.xml.dist (#610)
  • Use custom DISPLAY variable when set on Linux (#613, 2480495)

Fixed

  • Added missing dependencies (98eccfd)
  • Fix installation of Dotenv on Laravel 5.8 (1f67bf2)
v5.0.0

Added

Changed

  • Update minimum Laravel version (fcb2226)
  • Update Symfony dependencies to latest version (788e79c)
  • Prefer stable dependencies (fdb2fd4)
v4.0.0

Dusk 4.0.0 disables cookie serialization and is intended for use with Laravel 5.6.30 or later. If you are using a previous version of Laravel, please continue using Dusk 3.0.0.

v1.0.13

Added

  • Added illuminate/console as dependency (#232)
  • Added security measurement against registering Dusk on production (#229)
  • Added PHP_BINARY constant to the list of PHP's executable binaries (#240)

Changed

  • Changed propagateScaffoldingToBrowser() to setUp() for compatibility with PHPUnit ~6.0 (#227)
  • Changed selected() comparison to always cast the value to string (#239)

Fixed

  • No longer throws exception when Tty is not available (#226)
  • Use getAttribute('value') instead of getText() for textarea elements (#237)
  • Fixed bug when giving strings with apostrophe to clickLink() (#228)
v1.0.12

Added

  • Added automated tests for HTML elements identified by strings with a colon (#214)

Fixed

  • Support for colon on HTML id tag (#214)
v1.0.11

Added

  • Added assertSelectHasOptions(), assertSelectMissingOptions(), assertSelectHasOption() and and assertSelectMissingOption() (#195)
  • Added purge console logs before starting tests (#193)
  • Added assertPathIsNot() (#183)
  • Added support for back button (#187)
  • Added waitForLocation() to allow waiting on window.location to be changed (#176)

Changed

  • Updated ChromeDriver to v2.28 so that it works with Chrome 57 (#199)
  • Comparison to option inside select will no longer be strict (#178)
  • Type-hint Browser for auto-complete support (#174)
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport