How to use findItemsByColor method in fMBT

Best Python code snippet using fMBT_python

fmbtgti.py

Source:fmbtgti.py Github

copy

Full Screen

...2434 eye4graphics.closeImage(imageA)2435 if closeImageB:2436 eye4graphics.closeImage(imageB)2437 return foundItems2438 def findItemsByColor(self, rgb888, colorMatch=1.0, limit=1, area=None,2439 invertMatch=False, group=""):2440 """2441 Return list of items that match given color.2442 Parameters:2443 rgb888 (integer triplet (red, green, blue)):2444 color to be searched for.2445 colorMatch (optional, float):2446 required color matching accuracy. The default is 1.02447 (exact match).2448 limit (optional, integer):2449 max number of matching items to be returned.2450 The default is 1.2451 area ((left, top, right, bottom), optional):2452 subregion in the screenshot from which items will be...

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run fMBT automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful