I am trying to get the list of all divs where class name contains bp-table-cell
as a substring.
This returns divs that have class name exactly bp-table-cell
document.getElementsByClassName('bp-table-cell')
I found this which solves using jquery and need to solve without using jquery
$("div:regex(class, .*bp-table-cell.*)")