|
129 | 129 |
|
130 | 130 | insideOf(WebElement containerElement, String readableContainerName); // Verify that element is located inside of specified element |
131 | 131 |
|
132 | | - |
133 | 132 | withLeftElement(WebElement element); // Verify that element which located left to is correct |
134 | 133 |
|
135 | | - |
136 | 134 | withLeftElement(WebElement element, int minMargin, int maxMargin); // Verify that element which located left to is correct with specified margins |
137 | 135 |
|
138 | | - |
139 | 136 | withRightElement(WebElement element); // Verify that element which located right to is correct |
140 | 137 |
|
141 | | - |
142 | 138 | withRightElement(WebElement element, int minMargin, int maxMargin); // Verify that element which located right to is correct with specified margins |
143 | 139 |
|
144 | | - |
145 | 140 | withTopElement(WebElement element); // Verify that element which located top to is correct |
146 | 141 |
|
147 | | - |
148 | 142 | withTopElement(WebElement element, int minMargin, int maxMargin); // Verify that element which located top to is correct with specified margins |
149 | 143 |
|
150 | | - |
151 | 144 | withBottomElement(WebElement element); // Verify that element which located bottom to is correct |
152 | 145 |
|
153 | | - |
154 | 146 | withBottomElement(WebElement element, int minMargin, int maxMargin); // Verify that element which located bottom to is correct with specified margins |
155 | 147 |
|
156 | | - |
157 | 148 | notOverlapWith(WebElement element, String readableName); // Verify that element is NOT overlapped with specified element |
158 | 149 |
|
159 | | - |
160 | 150 | overlapWith(WebElement element, String readableName); // Verify that element is overlapped with specified element |
161 | 151 |
|
162 | | - |
163 | 152 | notOverlapWith(List<WebElement> elements); // Verify that element is NOT overlapped with every element is the list |
164 | 153 |
|
165 | | - |
166 | 154 | sameOffsetLeftAs(WebElement element, String readableName); // Verify that element has the same left offset as specified element |
167 | 155 |
|
168 | | - |
169 | 156 | sameOffsetLeftAs(List<WebElement> elements); // Verify that element has the same left offset as every element is the list |
170 | 157 |
|
171 | | - |
172 | 158 | sameOffsetRightAs(WebElement element, String readableName); // Verify that element has the same right offset as specified element |
173 | 159 |
|
174 | | - |
175 | 160 | sameOffsetRightAs(List<WebElement> elements); // Verify that element has the same right offset as every element is the list |
176 | 161 |
|
177 | | - |
178 | 162 | sameOffsetTopAs(WebElement element, String readableName); // Verify that element has the same top offset as specified element |
179 | 163 |
|
180 | | - |
181 | 164 | sameOffsetTopAs(List<WebElement> elements); // Verify that element has the same top offset as every element is the list |
182 | 165 |
|
183 | | - |
184 | 166 | sameOffsetBottomAs(WebElement element, String readableName); // Verify that element has the same bottom offset as specified element |
185 | 167 |
|
186 | | - |
187 | 168 | sameOffsetBottomAs(List<WebElement> elements); // Verify that element has the same bottom offset as every element is the list |
188 | 169 |
|
189 | | - |
190 | 170 | sameWidthAs(WebElement element, String readableName); // Verify that element has the same width as specified element |
191 | 171 |
|
192 | | - |
193 | 172 | sameWidthAs(List<WebElement> elements); // Verify that element has the same width as every element in the list |
194 | 173 |
|
195 | | - |
196 | 174 | minWidth(int width); // Verify that width of element is not less than specified |
197 | 175 |
|
198 | | - |
199 | 176 | maxWidth(int width); // Verify that width of element is not bigger than specified |
200 | 177 |
|
201 | | - |
202 | 178 | widthBetween(int min, int max); // Verify that width of element is in range |
203 | 179 |
|
204 | | - |
205 | 180 | sameHeightAs(WebElement element, String readableName); // Verify that element has the same height as specified element |
206 | 181 |
|
207 | | - |
208 | 182 | sameHeightAs(List<WebElement> elements); // Verify that element has the same height as every element in the list |
209 | 183 |
|
210 | | - |
211 | 184 | minHeight(int height); // Verify that height of element is not less than specified |
212 | 185 |
|
213 | | - |
214 | 186 | maxHeight(int height); // Verify that height of element is not bigger than specified |
215 | 187 |
|
216 | | - |
217 | 188 | sameSizeAs(WebElement element, String readableName); // Verify that element has the same size as specified element |
218 | 189 |
|
219 | | - |
220 | 190 | sameSizeAs(List<WebElement> elements); // Verify that element has the same size as every element in the list |
221 | 191 |
|
222 | | - |
223 | 192 | heightBetween(int min, int max); // Verify that height of element is in range |
224 | 193 |
|
225 | | - |
226 | 194 | minOffset(int top, int right, int bottom, int left); // Verify that min offset of element is not less than (min value is -10000) |
227 | 195 |
|
228 | | - |
229 | 196 | maxOffset(int top, int right, int bottom, int left); // Verify that max offset of element is not bigger than (min value is -10000) |
230 | 197 |
|
231 | | - |
232 | 198 | withCssValue(String cssProperty, String... args); // Verify that element has correct CSS values |
233 | 199 |
|
234 | | - |
235 | 200 | withoutCssValue(String cssProperty, String... args); // Verify that concrete CSS values are absent for specified element |
236 | 201 |
|
237 | | - |
238 | 202 | equalLeftRightOffset(); // Verify that element has equal left and right offsets (e.g. Bootstrap container) |
239 | 203 |
|
240 | | - |
241 | 204 | equalTopBottomOffset(); // Verify that element has equal top and bottom offset (aligned vertically in center) |
242 | 205 |
|
243 | | - |
244 | 206 | changeMetricsUnitsTo(ResponsiveUIValidator.Units units); // Change units to Pixels or % (Units.PX, Units.PERCENT) |
245 | 207 |
|
246 | 208 | * For list of elements findElements({element}): |
|
0 commit comments