dubravcik / pbixrefresher-python

Refresh Power BI reports programmatically for free
MIT License
125 stars 55 forks source link

Mitigate problem there are 2 elements and increased timeout to mitigate saving problem #27

Open ghost opened 4 years ago

ghost commented 4 years ago

This is to mitigate the problem: "There are 2 elements that match the criteria {'title': 'My workspace', 'top_level_only': False, 'parent': <uia_element_info.UIAElementInfo - 'Publish to Power BI',"

Also I increased the timeout from 5s to 10s to prevent publishing when the file is not yet saved. See https://github.com/dubravcik/pbixrefresher-python/issues/21