Commit 2f6258bb authored by Christophe Francois's avatar Christophe Francois Committed by Vincent A

[societegenerale] Fetch market order id

parent 4fda0965
......@@ -972,6 +972,7 @@ class MarketOrderPage(LoggedPage, HTMLPage):
class MarketOrderDetailPage(LoggedPage, HTMLPage):
@method
class fill_market_order(ItemElement):
obj_id = Regexp(CleanText('//td[has-class("TabTit1l") and contains(text(), "Ordre")]'), r'Ordre N° (.+?) passé')
obj_order_type = MapIn(
Lower('//td[contains(text(), "Type de l\'ordre")]//following-sibling::td[1]'),
MARKET_ORDER_TYPES,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment