{"id":19700298,"url":"https://github.com/appstract/laravel-dusk-opera","last_synced_at":"2025-04-29T13:31:54.438Z","repository":{"id":62486419,"uuid":"96218398","full_name":"appstract/laravel-dusk-opera","owner":"appstract","description":" Run Dusk tests in Opera","archived":false,"fork":false,"pushed_at":"2020-03-26T21:38:50.000Z","size":26623,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-07-12T20:35:54.665Z","etag":null,"topics":["laravel-dusk","laravel-package","larvel","opera"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appstract.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-04T12:57:20.000Z","updated_at":"2020-03-26T21:38:52.000Z","dependencies_parsed_at":"2022-11-02T10:15:34.580Z","dependency_job_id":null,"html_url":"https://github.com/appstract/laravel-dusk-opera","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appstract%2Flaravel-dusk-opera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appstract%2Flaravel-dusk-opera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appstract%2Flaravel-dusk-opera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appstract%2Flaravel-dusk-opera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appstract","download_url":"https://codeload.github.com/appstract/laravel-dusk-opera/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224175747,"owners_count":17268390,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel-dusk","laravel-package","larvel","opera"],"created_at":"2024-11-11T21:05:09.549Z","updated_at":"2024-11-11T21:05:10.037Z","avatar_url":"https://github.com/appstract.png","language":"PHP","funding_links":["https://www.paypal.me/teamappstract/10","https://www.patreon.com/appstract"],"categories":[],"sub_categories":[],"readme":"# Run Dusk tests in Opera\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/appstract/laravel-dusk-opera.svg?style=flat-square)](https://packagist.org/packages/appstract/laravel-dusk-opera)\n[![Total Downloads](https://img.shields.io/packagist/dt/appstract/laravel-dusk-opera.svg?style=flat-square)](https://packagist.org/packages/appstract/laravel-dusk-opera)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)\n[![Build Status](https://img.shields.io/travis/appstract/laravel-dusk-opera/master.svg?style=flat-square)](https://travis-ci.org/appstract/laravel-dusk-opera)\n\nThis package allows you to use Opera Webdriver in Dusk, so you don't need Selenium to run Dusk tests in Opera.\n\nThis requires a recent version of Opera.\n\n## Installation\n\nYou can install the package via composer:\n\n``` bash\ncomposer require appstract/laravel-dusk-opera\n```\n\n## Usage\n\nAdd the ``SupportsOpera`` trait to your DuskTestCase:\n```php\nuse Appstract\\DuskDrivers\\Opera\\SupportsOpera;\n\nabstract class DuskTestCase extends BaseTestCase\n{\n    use CreatesApplication, SupportsOpera;\n}\n```\n\nNow you can start the server in the ```prepare``` method:\n```php\npublic static function prepare()\n{\n    static::startOperaDriver();\n}\n```\n\nInstruct Dusk to use Opera by changing ```DesiredCapabilities::chrome()```\nto ```DesiredCapabilities::opera()``` in the Driver method:\n\n```php\nprotected function driver()\n{\n    return RemoteWebDriver::create(\n        'http://localhost:9515', DesiredCapabilities::opera()\n    );\n}\n```\n\n## Contributing\n\nContributions are welcome, [thanks to y'all](https://github.com/appstract/laravel-blade-directives/graphs/contributors) :)\n\n## About Appstract\n\nAppstract is a small team from The Netherlands. We create (open source) tools for webdevelopment and write about related subjects on [Medium](https://medium.com/appstract). You can [follow us on Twitter](https://twitter.com/teamappstract), [buy us a beer](https://www.paypal.me/teamappstract/10) or [support us on Patreon](https://www.patreon.com/appstract).\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappstract%2Flaravel-dusk-opera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappstract%2Flaravel-dusk-opera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappstract%2Flaravel-dusk-opera/lists"}