OzFramework / oz

Oz is a behavioral web-ui testing framework developed to reduce test maintenance by using a predictive model rather than a scriptive model when writing tests.
Apache License 2.0
23 stars 7 forks source link

Refine the way we add Generic Elements #156

Open Castone22 opened 5 years ago

Castone22 commented 5 years ago

Currently there's room for confusion with the way the generic elements get created that @greenarrowdb raised.

I think i'm going to add a add_generic_element method that defaults to a CoreElement for creating elements that are meant to be used as parents or base elements for location.

I'll probably add a warning to add_element if it's called without an element type the first time the code point is hit per page (as as not to log spam)