have/take/get the measure of (someone)
idiomDefinition of have/take/get the measure of (someone)
chiefly British
: to have or get a good understanding about what is needed to defeat or deal with (someone one is competing against)
She failed to take the measure of her opponent.