-
Your WebDriverRemoteControl instance is available at:
$this->driver
-
Locating Elements
- 'findElement(WebDriverBy $by)' -- Find the first element matching the given arguments.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Change thumbnail sizes after theme activation | |
* | |
* @return void | |
*/ | |
function theme_prefix_activation() { | |
// Set default WordPress' sizes. | |
update_option( 'thumbnail_size_h', 120 ); | |
update_option( 'thumbnail_size_w', 80 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Declare example of Agent Profile Component. | |
*/ | |
namespace App\Agent\Profile; | |
use App\Agent\Avatar; | |
use App\Agent\Designations; | |
use App\Agent\Awards; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function fwp_preload_facets() { | |
?> | |
<script> | |
(function($) { | |
$(document).on('facetwp-refresh', function() { | |
if (! FWP.loaded && '' == FWP.build_query_string()) { | |
FWP.facets['product_availability'] = ['americas'];] | |
FWP.refresh(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Template Name: Archives Page | |
*/ | |
?> | |
<?php get_header(); ?> | |
<main id="main" class="site-main" role="main"> | |
<div class="facetwp-template"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Add before the loop. | |
include_once get_template_directory() . '/includes/builder/' . 'functions.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="StepProgress"> | |
<li class="StepProgress-item is-done"><strong>Award an entry</strong> | |
Little Text</li> | |
<li class="StepProgress-item is-done"><strong>Award an entry</strong> | |
Little Text | |
<div class="StepProgress-actions"> | |
<a href="#" class="btn pdf">PDF</a> | |
<a href="#" class="btn xml">XML</a> | |
</div> | |
</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Formatter for Selenium 2 / WebDriver PHP client. | |
*/ | |
var subScriptLoader = Components.classes["@mozilla.org/moz/jssubscript-loader;1"].getService(Components.interfaces.mozIJSSubScriptLoader); | |
subScriptLoader.loadSubScript('chrome://selenium-ide/content/formats/webdriver.js', this); | |
function useSeparateEqualsForArray() { | |
return true; | |
} |
NewerOlder