{"id":38962972,"url":"https://github.com/evpl/selenide-hacks","last_synced_at":"2026-01-17T16:26:28.291Z","repository":{"id":65303970,"uuid":"560965006","full_name":"evpl/selenide-hacks","owner":"evpl","description":"The set of Selenide hacks","archived":false,"fork":false,"pushed_at":"2023-03-07T04:05:44.000Z","size":32,"stargazers_count":2,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-31T23:14:59.019Z","etag":null,"topics":["automated-testing","java","selenide","selenide-framework","selenide-java"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/evpl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-02T16:38:51.000Z","updated_at":"2025-07-17T09:30:36.000Z","dependencies_parsed_at":"2023-02-13T14:15:51.124Z","dependency_job_id":null,"html_url":"https://github.com/evpl/selenide-hacks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/evpl/selenide-hacks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evpl%2Fselenide-hacks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evpl%2Fselenide-hacks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evpl%2Fselenide-hacks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evpl%2Fselenide-hacks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evpl","download_url":"https://codeload.github.com/evpl/selenide-hacks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evpl%2Fselenide-hacks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28511864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["automated-testing","java","selenide","selenide-framework","selenide-java"],"created_at":"2026-01-17T16:26:28.167Z","updated_at":"2026-01-17T16:26:28.264Z","avatar_url":"https://github.com/evpl.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Selenide hacks\n\n*The set of Selenide hacks*\n\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.plugatar/selenide-hacks/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.plugatar/selenide-hacks)\n[![Javadoc](https://javadoc.io/badge2/com.plugatar/selenide-hacks/javadoc.svg)](https://javadoc.io/doc/com.plugatar/selenide-hacks)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Hits-of-Code](https://hitsofcode.com/github/evpl/selenide-hacks?branch=master)](https://hitsofcode.com/github/evpl/selenide-hacks/view?branch=master)\n[![Lines of code](https://img.shields.io/tokei/lines/github/evpl/selenide-hacks)](https://en.wikipedia.org/wiki/Source_lines_of_code)\n\n## Table of Contents\n\n* [How to use](#How-to-use)\n* [API](#API)\n    * [CustomArgsCommand](#CustomArgsCommand)\n    * [UnsafeSelenideElement](#UnsafeSelenideElement)\n    * [OuterCommand](#OuterCommand)\n\n## How to use\n\nRequires Java 8+ version. Just add [Selenide](https://github.com/selenide/selenide) and Selenide hacks dependencies\n(versions correspond to the Selenide version).\n\n## API\n\n### CustomArgsCommand\n\nThe Selenide `Command` with custom arguments. You can use `CustomArgsCommand.of(Command, Object[])` method or\n`CustomArgsCommandOf(Command, Object[])` constructor.\n\n```java\nSelenideElement element = driver.$(\".class_name\");\n\nelement.execute(\n    CustomArgsCommand.of(new Append(), \"text to append\"),\n    Duration.ofSeconds(20)\n);\n```\n\n### UnsafeSelenideElement\n\nRepresents an object that provides access to `SelenideElement` by method name and method arguments. You can\nuse `UnsafeSelenideElement.of(SelenideElement)` method or `UnsafeSelenideElementOf(SelenideElement)` constructor.\n\n```java\nSelenideElement element = driver.$(\".class_name\");\n\n/* The first way */\nUnsafeSelenideElement.of(element).invoke(\"append\", \"text to append\");\n\n/* The second way */\nUnsafeSelenideElement.of(element).invoke(\n    \"execute\",\n    CustomArgsCommand.of(new Append(), \"text to append\"),\n    Duration.ofSeconds(20)\n);\n\n/* The third way */\nUnsafeSelenideElement.of(element).invoke(\"append\", \"text to append\", Duration.ofSeconds(20));\n```\n\n### OuterCommand\n\nRepresents `Command` that can be executed on an `SelenideElement`. You can use\n`OuterCommand.of(String, Object[])` and `OuterCommand.of(Command, Object[])` methods or\n`OuterCommandOf(String, Object[])` and `OuterCommandOf(Command, Object[])` constructor.\n\n```java\nSelenideElement element = driver.$(\".class_name\");\n\n/* The first way */\nOuterCommand.of(\"append\", \"text to append\").executeOn(element);\n\n/* The second way */\nOuterCommand.of(\n    \"execute\",\n    CustomArgsCommand.of(new Append(), \"text to append\"),\n    Duration.ofSeconds(20)\n).executeOn(element);\n\n/* The third way */\nOuterCommand.of(\"append\", \"text to append\", Duration.ofSeconds(20)).executeOn(element);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevpl%2Fselenide-hacks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevpl%2Fselenide-hacks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevpl%2Fselenide-hacks/lists"}