Skip to content

Instantly share code, notes, and snippets.

View thibaut-sticky's full-sized avatar

Thibaut ETIENNE thibaut-sticky

  • Montpellier, France
View GitHub Profile
@thibaut-sticky
thibaut-sticky / Control.java
Created January 29, 2015 09:32
Click on Flash element [Helpful for Grid Selenium]
/**
*
*/
package com.tetienne.qa.client.remote;
import com.jcraft.jsch.Channel;
import com.jcraft.jsch.ChannelExec;
import com.jcraft.jsch.JSch;
import com.jcraft.jsch.JSchException;
import com.jcraft.jsch.Session;
@thibaut-sticky
thibaut-sticky / inputElementId.coffee
Last active August 29, 2015 14:06
WebdriverIO - useful commands
# Public : Base on the `label` and the `fieldset`, return the element id of the
# linked input.
#
# label - {String} Label of the input targeted.
# fieldset - {String} In case several label with the same value are visible,
# the fieldset can be provided to limit the research. (default: '').
#
# Returns
# an {Error}
# a {Number} which is the element id